scripts: Fix run_metrics.sh to use sha1sums common file
The focal image checksums have been moved in the -common sha1sums file. Use the correct file for metrics. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
parent
ce93686ad2
commit
20f5cadb6f
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ build_fio() {
|
|||
|
||||
process_common_args "$@"
|
||||
|
||||
cp scripts/sha1sums-"${TEST_ARCH}" "$WORKLOADS_DIR"
|
||||
cp scripts/sha1sums-"${TEST_ARCH}"-common "$WORKLOADS_DIR"
|
||||
|
||||
if [ "${TEST_ARCH}" == "aarch64" ]; then
|
||||
FOCAL_OS_IMAGE_NAME="focal-server-cloudimg-arm64-custom-20210929-0.qcow2"
|
||||
|
|
@ -58,7 +58,7 @@ if [ ! -f "$FOCAL_OS_RAW_IMAGE" ]; then
|
|||
fi
|
||||
|
||||
pushd "$WORKLOADS_DIR" || exit
|
||||
if ! grep focal sha1sums-"${TEST_ARCH}" | sha1sum --check; then
|
||||
if ! grep focal sha1sums-"${TEST_ARCH}"-common | sha1sum --check; then
|
||||
echo "sha1sum validation of images failed, remove invalid images to fix the issue."
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue