From b216501a8eb01ae99924359ec6ecc9decd1f20ed Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Fri, 17 Sep 2021 23:03:44 +0200 Subject: [PATCH] test: cleanup the intermediate disk images --- test/TEST-64-UDEV-STORAGE/test.sh | 33 +++++++++++++++++-------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/test/TEST-64-UDEV-STORAGE/test.sh b/test/TEST-64-UDEV-STORAGE/test.sh index fe386050e36..cddd5229b09 100755 --- a/test/TEST-64-UDEV-STORAGE/test.sh +++ b/test/TEST-64-UDEV-STORAGE/test.sh @@ -187,11 +187,9 @@ testcase_virtio_scsi_identically_named_partitions() { local diskpath="${TESTDIR:?}/namedpart0.img" local lodev - # Save some time (and storage life) during local testing - if [[ ! -e "$diskpath" ]]; then - dd if=/dev/zero of="$diskpath" bs=1M count=18 - lodev="$(losetup --show -f -P "$diskpath")" - sfdisk "${lodev:?}" <