From a4cca5f60a9734d3e1345e6ba2eee1c5ed9fd519 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 4 Mar 2020 16:18:50 +0000 Subject: [PATCH] tests: sha1sums --check can take a list of hashes There is no need to cat the file in as input and instead the the program will load from disk. Signed-off-by: Rob Bradford --- scripts/run_integration_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_integration_tests.sh b/scripts/run_integration_tests.sh index dee974734..549bd9674 100755 --- a/scripts/run_integration_tests.sh +++ b/scripts/run_integration_tests.sh @@ -69,7 +69,7 @@ if [ ! -f "$EOAN_OS_RAW_IMAGE" ]; then fi pushd $WORKLOADS_DIR -cat sha1sums | sha1sum --check +sha1sum sha1sums --check if [ $? -ne 0 ]; then echo "sha1sum validation of images failed, remove invalid images to fix the issue." exit 1