diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
commit | 19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch) | |
tree | 42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /qa/run_xfstests_qemu.sh | |
parent | Initial commit. (diff) | |
download | ceph-19fcec84d8d7d21e796c7624e521b60d28ee21ed.tar.xz ceph-19fcec84d8d7d21e796c7624e521b60d28ee21ed.zip |
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | qa/run_xfstests_qemu.sh | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/qa/run_xfstests_qemu.sh b/qa/run_xfstests_qemu.sh new file mode 100644 index 000000000..4e7929b30 --- /dev/null +++ b/qa/run_xfstests_qemu.sh @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +# +# TODO switch to run_xfstests.sh (see run_xfstests_krbd.sh) + +set -x + +[ -n "${TESTDIR}" ] || export TESTDIR="/tmp/cephtest" +[ -d "${TESTDIR}" ] || mkdir "${TESTDIR}" + +URL_BASE="https://git.ceph.com/?p=ceph.git;a=blob_plain;f=qa" +SCRIPT="run_xfstests-obsolete.sh" + +cd "${TESTDIR}" + +curl -O "${URL_BASE}/${SCRIPT}" +# mark executable only if the file isn't empty since ./"${SCRIPT}" +# on an empty file would succeed +if [[ -s "${SCRIPT}" ]]; then + chmod +x "${SCRIPT}" +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 \ + 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 +STATUS=$? + +rm -f "${SCRIPT}" + +exit "${STATUS}" |