mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
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 <robert.bradford@intel.com>
This commit is contained in:
parent
689415e5ff
commit
a4cca5f60a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user