diff --git a/test/acceptance/deb.sh b/test/acceptance/deb.sh index a49b0c918..c94668d75 100755 --- a/test/acceptance/deb.sh +++ b/test/acceptance/deb.sh @@ -42,6 +42,7 @@ docker run --rm \ " # keep the generated report around +mkdir -p ${RESULTSDIR} cp ${REPORT} ${RESULTSDIR} # compare the results to a known good output diff --git a/test/acceptance/mac.sh b/test/acceptance/mac.sh index b783e885b..fa6a2cded 100755 --- a/test/acceptance/mac.sh +++ b/test/acceptance/mac.sh @@ -39,6 +39,7 @@ ${DISTDIR}/syft_darwin_amd64/syft docker-archive://${TEST_IMAGE_TAR} -vv -o json cat ${REPORT} # keep the generated report around +mkdir -p ${RESULTSDIR} cp ${REPORT} ${RESULTSDIR} # compare the results to a known good output diff --git a/test/acceptance/rpm.sh b/test/acceptance/rpm.sh index 9eb43b3d8..5a55e09a5 100755 --- a/test/acceptance/rpm.sh +++ b/test/acceptance/rpm.sh @@ -42,6 +42,7 @@ docker run --rm \ " # keep the generated report around +mkdir -p ${RESULTSDIR} cp ${REPORT} ${RESULTSDIR} # compare the results to a known good output