From: Ilya Dryomov Date: Sat, 22 Jan 2022 10:49:46 +0000 (+0100) Subject: qa/run_xfstests_qemu.sh: fall back to ide disks if needed X-Git-Tag: v18.0.0~1504^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1f0782057993b4658a2c8b4bb671a69863e78015;p=ceph-ci.git qa/run_xfstests_qemu.sh: fall back to ide disks if needed Signed-off-by: Ilya Dryomov --- diff --git a/qa/run_xfstests_qemu.sh b/qa/run_xfstests_qemu.sh index 40300cea6fe..8463a12dc49 100644 --- a/qa/run_xfstests_qemu.sh +++ b/qa/run_xfstests_qemu.sh @@ -15,10 +15,19 @@ cd "${TESTDIR}" wget -O "${SCRIPT}" "${URL_BASE}/${SCRIPT}" chmod +x "${SCRIPT}" +TEST_DEV="/dev/vdb" +if [[ ! -b "${TEST_DEV}" ]]; then + TEST_DEV="/dev/sdb" +fi +SCRATCH_DEV="/dev/vdc" +if [[ ! -b "${SCRATCH_DEV}" ]]; then + SCRATCH_DEV="/dev/sdc" +fi + # tests excluded fail in the current testing vm regardless of whether # rbd is used -./"${SCRIPT}" -c 1 -f xfs -t /dev/vdb -s /dev/vdc \ +./"${SCRIPT}" -c 1 -f xfs -t "${TEST_DEV}" -s "${SCRATCH_DEV}" \ 1-7 9-17 19-26 28-49 51-61 63 66-67 69-79 83 85-105 108-110 112-135 \ 137-170 174-191 193-204 206-217 220-227 230-231 233 235-241 243-249 \ 251-262 264-278 281-286 288-289