]>
Commit | Line | Data |
---|---|---|
11fdf7f2 | 1 | #!/usr/bin/env bash |
7c673cae FG |
2 | # |
3 | # TODO switch to run_xfstests.sh (see run_xfstests_krbd.sh) | |
4 | ||
5 | set -x | |
6 | ||
7 | [ -n "${TESTDIR}" ] || export TESTDIR="/tmp/cephtest" | |
8 | [ -d "${TESTDIR}" ] || mkdir "${TESTDIR}" | |
9 | ||
10 | URL_BASE="https://git.ceph.com/?p=ceph.git;a=blob_plain;f=qa" | |
11 | SCRIPT="run_xfstests-obsolete.sh" | |
12 | ||
13 | cd "${TESTDIR}" | |
14 | ||
39ae355f | 15 | curl -O "${URL_BASE}/${SCRIPT}" |
20effc67 TL |
16 | # mark executable only if the file isn't empty since ./"${SCRIPT}" |
17 | # on an empty file would succeed | |
18 | if [[ -s "${SCRIPT}" ]]; then | |
19 | chmod +x "${SCRIPT}" | |
20 | fi | |
21 | ||
22 | TEST_DEV="/dev/vdb" | |
23 | if [[ ! -b "${TEST_DEV}" ]]; then | |
24 | TEST_DEV="/dev/sdb" | |
25 | fi | |
26 | SCRATCH_DEV="/dev/vdc" | |
27 | if [[ ! -b "${SCRATCH_DEV}" ]]; then | |
28 | SCRATCH_DEV="/dev/sdc" | |
29 | fi | |
7c673cae FG |
30 | |
31 | # tests excluded fail in the current testing vm regardless of whether | |
32 | # rbd is used | |
33 | ||
20effc67 | 34 | ./"${SCRIPT}" -c 1 -f xfs -t "${TEST_DEV}" -s "${SCRATCH_DEV}" \ |
7c673cae FG |
35 | 1-7 9-17 19-26 28-49 51-61 63 66-67 69-79 83 85-105 108-110 112-135 \ |
36 | 137-170 174-191 193-204 206-217 220-227 230-231 233 235-241 243-249 \ | |
20effc67 | 37 | 252-259 261-262 264-278 281-286 289 |
7c673cae FG |
38 | STATUS=$? |
39 | ||
40 | rm -f "${SCRIPT}" | |
41 | ||
42 | exit "${STATUS}" |