From: Yu Watanabe Date: Sat, 18 May 2024 20:10:28 +0000 (+0900) Subject: test: wipe filesystem before moving to the next test case X-Git-Tag: v256-rc3~34^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=301d7ee6112c6f766ee63d1daed3cd9535a65053;p=thirdparty%2Fsystemd.git test: wipe filesystem before moving to the next test case --- diff --git a/test/units/TEST-64-UDEV-STORAGE.sh b/test/units/TEST-64-UDEV-STORAGE.sh index c97db41da69..087968f42d3 100755 --- a/test/units/TEST-64-UDEV-STORAGE.sh +++ b/test/units/TEST-64-UDEV-STORAGE.sh @@ -772,6 +772,8 @@ EOF btrfs filesystem show helper_check_device_symlinks helper_check_device_units + wipefs -a -f "${devices[@]}" + udevadm wait --settle --timeout=30 --removed "/dev/disk/by-uuid/$uuid" "/dev/disk/by-label/$label" echo "Multiple devices: using LUKS encrypted disks, data: raid1, metadata: raid1, mixed mode" uuid="deadbeef-dead-dead-beef-000000000003"