make acceptance test results dir on run

This commit is contained in:
Alex Goodman 2020-07-24 18:04:52 -04:00
parent 6b0ab2de4a
commit 2e458cd73d
No known key found for this signature in database
GPG key ID: 86E2870463D5E890
3 changed files with 3 additions and 0 deletions

View file

@ -42,6 +42,7 @@ docker run --rm \
" "
# keep the generated report around # keep the generated report around
mkdir -p ${RESULTSDIR}
cp ${REPORT} ${RESULTSDIR} cp ${REPORT} ${RESULTSDIR}
# compare the results to a known good output # compare the results to a known good output

View file

@ -39,6 +39,7 @@ ${DISTDIR}/syft_darwin_amd64/syft docker-archive://${TEST_IMAGE_TAR} -vv -o json
cat ${REPORT} cat ${REPORT}
# keep the generated report around # keep the generated report around
mkdir -p ${RESULTSDIR}
cp ${REPORT} ${RESULTSDIR} cp ${REPORT} ${RESULTSDIR}
# compare the results to a known good output # compare the results to a known good output

View file

@ -42,6 +42,7 @@ docker run --rm \
" "
# keep the generated report around # keep the generated report around
mkdir -p ${RESULTSDIR}
cp ${REPORT} ${RESULTSDIR} cp ${REPORT} ${RESULTSDIR}
# compare the results to a known good output # compare the results to a known good output