mirror of
https://github.com/ceph/ceph
synced 2025-01-29 22:43:40 +00:00
qa/run_xfstests_qemu.sh: fall back to ide disks if needed
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
555a2896d7
commit
1f07820579
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user