]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #!/bin/bash |
2 | # | |
3 | # This is a wrapper around run_xfstests.sh to provide an expunge file | |
4 | # suitable for krbd xfstests runs. | |
5 | ||
6 | set -x | |
7 | ||
8 | [ -n "${TESTDIR}" ] || export TESTDIR="/tmp/cephtest" | |
9 | [ -d "${TESTDIR}" ] || mkdir "${TESTDIR}" | |
10 | ||
11 | SCRIPT="run_xfstests.sh" | |
12 | ||
13 | if [ -z "${URL_BASE}" ]; then | |
14 | URL_BASE="https://git.ceph.com/?p=ceph.git;a=blob_plain;f=qa" | |
15 | fi | |
16 | ||
17 | cd "${TESTDIR}" | |
18 | ||
19 | wget -O "${SCRIPT}" "${URL_BASE}/${SCRIPT}" | |
20 | chmod +x "${SCRIPT}" | |
21 | ||
22 | EXPUNGE="$(mktemp expunge.XXXXXXXXXX)" | |
23 | cat > "${EXPUNGE}" <<-! | |
24 | # mv - moved here from the old version of run_xfstests.sh | |
25 | # and rbd_xfstests.yaml | |
26 | # wasn't run - like 'mv', but wasn't specifically excluded | |
27 | # new test - didn't exist in the xfstests version that was | |
28 | # used by the old version of this script | |
29 | ||
30 | generic/038 | |
31 | generic/042 # zeroes out only the last 4k of test file, but expects | |
32 | # only zeros in the entire file. bug in test? | |
33 | generic/046 # _count_extents in common/rc assumes backticks do not | |
34 | # remove newlines. This breaks parsing on some | |
35 | # platforms. | |
36 | generic/050 # blockdev --setro right after mkfs returns EBUSY | |
37 | generic/078 # RENAME_WHITEOUT was enabled in kernel commit 7dcf5c, but causes | |
38 | # a BUG for now | |
39 | generic/081 # ubuntu lvm2 doesn't suport --yes argument | |
40 | generic/083 # mkfs.xfs -dxize=104857600,agcount=6 fails | |
41 | # when sunit=swidth=8192 | |
42 | generic/093 # not for Linux | |
43 | generic/097 # not for Linux | |
44 | generic/099 # not for Linux | |
45 | generic/204 # stripe size throws off test's math for when to | |
46 | # expect ENOSPC | |
47 | generic/231 # broken for disk and rbd by xfs kernel commit 4162bb | |
48 | generic/247 # race between DIO and mmap writes | |
49 | # see (https://lists.01.org/pipermail/lkp/2015-March/002459.html) | |
50 | ||
51 | shared/272 # not for xfs | |
52 | shared/289 # not for xfs | |
53 | ||
54 | xfs/007 # sector size math | |
55 | xfs/030 # mkfs.xfs -dsize=100m,agcount=6 fails | |
56 | # when sunit=swidth=8192 | |
57 | xfs/032 # xfs_copy cleans up with pthread_kill (RHBA-2015-0537) | |
58 | xfs/042 # stripe size throws off test's math when filling FS | |
59 | xfs/051 | |
60 | xfs/057 # test for IRIX | |
61 | xfs/058 # test for IRIX | |
62 | xfs/069 # _filter_bmap in common/punch parses incorrectly if | |
63 | # blocks are not stripe-aligned | |
64 | xfs/070 # extra output from xfs_repair | |
65 | xfs/071 # xfs_repair issue on large offsets (RHBA-2015-0537) | |
66 | xfs/073 | |
67 | xfs/081 # very small mkfs breaks test with sunit=swidth-8192 | |
68 | xfs/095 # not for Linux | |
69 | xfs/096 # checks various mkfs options and chokes on sunit/swidth | |
70 | xfs/104 # can't suppress sunit/swidth warnings on mkfs | |
71 | xfs/109 # can't suppress sunit/swidth warnings on mkfs | |
72 | xfs/167 | |
73 | xfs/178 # test explicitly checks for stripe width of 0 | |
74 | xfs/191 # tests NFSv4 | |
75 | xfs/197 # tests 32-bit machines | |
76 | xfs/205 # very small mkfs breaks tests with sunit=swidth=8192 | |
77 | xfs/242 # _filter_bmap in common/punch parses incorrectly if | |
78 | # blocks are not stripe-aligned | |
79 | xfs/261 # bug in mount_xfs involving creation of new quota files | |
80 | xfs/279 # sector size math (logical v. physical: BZ836433?) | |
81 | xfs/297 # XXX: temporarily expunged due to length | |
82 | xfs/300 # SELinux | |
83 | ! | |
84 | ||
85 | ./"${SCRIPT}" -x "$(readlink -f "${EXPUNGE}")" "$@" | |
86 | STATUS=$? | |
87 | ||
88 | rm -f "${EXPUNGE}" | |
89 | rm -f "${SCRIPT}" | |
90 | ||
91 | exit "${STATUS}" |