mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: move xfs specific tests out of top directory
And into tests/xfs. Tests found and moved via: $ grep "supported_fs xfs$" [0-2]* | cut -d : -f 1 > xfs.tests $ for i in `cat xfs.tests`; do > git mv $i* tests/xfs/ > grep ^$i group >> tests/xfs/group > sed -i -e "/^$i/d" group > done Output now looks like: sudo ./check -g quick -r FSTYP -- xfs (debug) PLATFORM -- Linux/x86_64 test-1 3.5.0-rc5-dgc+ MKFS_OPTIONS -- -f -bsize=4096 /dev/vdb MOUNT_OPTIONS -- /dev/vdb /mnt/scratch xfs/170 4s generic/120 16s generic/248 0s generic/213 0s generic/256 39s xfs/121 6s xfs/026 11s generic/131 1s xfs/187 1s generic/135 0s .... Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Phil White <pwhite@sgi.com> [rjohnston@sgi.com did not move test 032, belongs in shared] Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
committed by
Rich Johnston
parent
797e625f28
commit
fc48dfb966
@@ -38,6 +38,7 @@ FSTYP=xfs
|
|||||||
SUPPORTED_TESTS="[0-9][0-9][0-9] [0-9][0-9][0-9][0-9]"
|
SUPPORTED_TESTS="[0-9][0-9][0-9] [0-9][0-9][0-9][0-9]"
|
||||||
TEST_GROUP_DIR="tests"
|
TEST_GROUP_DIR="tests"
|
||||||
GENERIC_GROUP_DIR="$TEST_GROUP_DIR/generic"
|
GENERIC_GROUP_DIR="$TEST_GROUP_DIR/generic"
|
||||||
|
XFS_GROUP_DIR="$TEST_GROUP_DIR/xfs"
|
||||||
|
|
||||||
# generic initialization
|
# generic initialization
|
||||||
iam=check
|
iam=check
|
||||||
@@ -86,7 +87,7 @@ _setenvironment()
|
|||||||
get_group_list()
|
get_group_list()
|
||||||
{
|
{
|
||||||
grp=$1
|
grp=$1
|
||||||
dirs=". $GENERIC_GROUP_DIR"
|
dirs=". $GENERIC_GROUP_DIR $XFS_GROUP_DIR"
|
||||||
|
|
||||||
for d in $dirs; do
|
for d in $dirs; do
|
||||||
l=$(sed -n < $d/group \
|
l=$(sed -n < $d/group \
|
||||||
|
|||||||
@@ -3,324 +3,25 @@
|
|||||||
# - do not start group names with a digit
|
# - do not start group names with a digit
|
||||||
# - comment line before each group is "new" description
|
# - comment line before each group is "new" description
|
||||||
#
|
#
|
||||||
|
|
||||||
# catch-all
|
|
||||||
other
|
|
||||||
|
|
||||||
# read/write integrity
|
|
||||||
rw
|
|
||||||
|
|
||||||
# directory operations, e.g. create/unlink
|
|
||||||
dir
|
|
||||||
|
|
||||||
# metadata and inodes in particular
|
|
||||||
metadata
|
|
||||||
|
|
||||||
# xfs_db
|
|
||||||
db
|
|
||||||
|
|
||||||
# extended attributes
|
|
||||||
attr
|
|
||||||
|
|
||||||
# xfs_logprint
|
|
||||||
logprint
|
|
||||||
|
|
||||||
# XFS log related testing
|
|
||||||
log
|
|
||||||
|
|
||||||
# XFS log related testing
|
|
||||||
v2log
|
|
||||||
|
|
||||||
# xfsdump, xfsrestore, xfsinvutil
|
|
||||||
dump
|
|
||||||
|
|
||||||
# xfsdump, xfsrestore to tapes
|
|
||||||
tape
|
|
||||||
|
|
||||||
# xfsdump, xfsrestore to remote tapes
|
|
||||||
remote
|
|
||||||
|
|
||||||
# xfs_copy
|
|
||||||
copy
|
|
||||||
|
|
||||||
# chacl, libacl
|
|
||||||
acl
|
|
||||||
|
|
||||||
# capabilities
|
|
||||||
cap
|
|
||||||
|
|
||||||
# permissions
|
|
||||||
perms
|
|
||||||
|
|
||||||
# xfs_growfs
|
|
||||||
growfs
|
|
||||||
|
|
||||||
# fsr.xfs
|
|
||||||
fsr
|
|
||||||
|
|
||||||
# mkfs.xfs
|
|
||||||
mkfs
|
|
||||||
|
|
||||||
# xfs_repair
|
|
||||||
repair
|
|
||||||
|
|
||||||
# quota tools and XFS quota kernel code (XQM)
|
|
||||||
quota
|
|
||||||
|
|
||||||
# auto - tests to be run as part of nightly qa
|
|
||||||
auto
|
|
||||||
|
|
||||||
# ioctl - tests which use ioctl commands (directly/indirectly)
|
|
||||||
ioctl
|
|
||||||
|
|
||||||
# udf filesystem
|
|
||||||
udf
|
|
||||||
|
|
||||||
# AIO operations
|
|
||||||
aio
|
|
||||||
|
|
||||||
# Pattern writing and checking
|
|
||||||
pattern
|
|
||||||
|
|
||||||
# dmapi based tests
|
|
||||||
dmapi
|
|
||||||
|
|
||||||
# filestreams based tests
|
|
||||||
filestreams
|
|
||||||
|
|
||||||
# case-insensitive based tests
|
|
||||||
ci
|
|
||||||
|
|
||||||
# test the mount/remount path
|
|
||||||
mount
|
|
||||||
|
|
||||||
# test the NFS v4 ACL code if it exists
|
|
||||||
nfs4acl
|
|
||||||
|
|
||||||
# test access time
|
|
||||||
atime
|
|
||||||
|
|
||||||
# Test preallocation calls
|
|
||||||
prealloc
|
|
||||||
|
|
||||||
# Test filesystem freeze
|
|
||||||
freeze
|
|
||||||
|
|
||||||
# Tests which may oops or hang
|
|
||||||
dangerous
|
|
||||||
|
|
||||||
# Old tests that we won't spend any effort trying to run and make work
|
|
||||||
# on current systems
|
|
||||||
deprecated
|
|
||||||
|
|
||||||
# Stress test with probable behaviour, the longer test run the
|
|
||||||
# larger corner cases will be covered. Configurable variables:
|
|
||||||
# LOAD_FACTOR: Usually means factor number of running tasks
|
|
||||||
# TIME_FACTOR: Usually means factor of run time, or number of operations
|
|
||||||
stress
|
|
||||||
|
|
||||||
# test-group association ... one line per test
|
# test-group association ... one line per test
|
||||||
#
|
#
|
||||||
003 db auto quick
|
|
||||||
004 db auto quick
|
|
||||||
008 rw ioctl auto quick
|
|
||||||
009 rw ioctl auto prealloc quick
|
|
||||||
012 rw auto quick
|
|
||||||
016 rw auto quick
|
|
||||||
017 mount auto quick stress
|
|
||||||
018 deprecated # log logprint v2log
|
|
||||||
019 mkfs auto quick
|
|
||||||
021 db attr auto quick
|
|
||||||
022 dump ioctl tape
|
|
||||||
023 dump ioctl tape
|
|
||||||
024 dump ioctl tape
|
|
||||||
025 dump ioctl tape
|
|
||||||
026 dump ioctl auto quick
|
|
||||||
027 dump ioctl auto quick
|
|
||||||
028 dump ioctl auto quick
|
|
||||||
029 mkfs logprint log auto quick
|
|
||||||
030 repair auto quick
|
|
||||||
031 repair mkfs auto quick
|
|
||||||
032 mkfs auto quick
|
032 mkfs auto quick
|
||||||
033 repair auto quick
|
|
||||||
034 other auto quick
|
|
||||||
035 dump ioctl tape auto
|
|
||||||
036 dump ioctl remote tape
|
|
||||||
037 dump ioctl remote tape
|
|
||||||
038 dump ioctl remote tape
|
|
||||||
039 dump ioctl remote tape
|
|
||||||
040 other auto
|
040 other auto
|
||||||
041 growfs ioctl auto
|
|
||||||
042 fsr ioctl auto
|
|
||||||
043 dump ioctl tape
|
|
||||||
044 other auto
|
|
||||||
045 other auto quick
|
|
||||||
046 dump ioctl auto quick
|
|
||||||
047 dump ioctl auto
|
|
||||||
048 other auto quick
|
|
||||||
049 rw auto quick
|
|
||||||
050 quota auto quick
|
|
||||||
051 acl udf auto quick
|
051 acl udf auto quick
|
||||||
052 quota db auto quick
|
|
||||||
054 quota auto quick
|
|
||||||
055 dump ioctl remote tape
|
|
||||||
056 dump ioctl auto quick
|
|
||||||
057 acl auto
|
|
||||||
058 acl auto
|
|
||||||
059 dump ioctl auto quick
|
|
||||||
060 dump ioctl auto quick
|
|
||||||
061 dump ioctl auto quick
|
|
||||||
063 dump attr auto quick
|
|
||||||
064 dump auto
|
|
||||||
065 dump auto
|
|
||||||
066 dump ioctl auto quick
|
|
||||||
067 acl attr auto quick
|
|
||||||
071 rw auto
|
|
||||||
072 rw auto prealloc quick
|
|
||||||
073 copy auto
|
|
||||||
078 growfs auto quick
|
|
||||||
080 rw ioctl
|
|
||||||
081 deprecated # log logprint quota
|
|
||||||
082 deprecated # log logprint v2log
|
|
||||||
083 rw auto enospc stress
|
|
||||||
084 ioctl rw auto
|
|
||||||
085 log auto quick
|
|
||||||
086 log v2log auto
|
|
||||||
087 log v2log auto quota stress
|
|
||||||
090 rw auto
|
|
||||||
092 other auto quick
|
|
||||||
094 metadata dir ioctl auto
|
|
||||||
095 log v2log auto
|
|
||||||
096 mkfs v2log auto quick
|
|
||||||
098 udf auto
|
098 udf auto
|
||||||
101 udf
|
101 udf
|
||||||
102 udf
|
102 udf
|
||||||
103 metadata dir ioctl auto quick
|
|
||||||
104 growfs ioctl prealloc auto stress
|
|
||||||
106 quota
|
|
||||||
107 quota
|
|
||||||
108 quota auto quick
|
|
||||||
109 metadata auto
|
|
||||||
110 repair auto
|
|
||||||
111 ioctl
|
|
||||||
114 parent attr stress
|
|
||||||
115 parent attr
|
|
||||||
116 quota auto quick
|
|
||||||
118 quota auto quick
|
|
||||||
119 log v2log auto freeze dangerous
|
|
||||||
121 log auto quick
|
|
||||||
122 other auto quick
|
|
||||||
134 quota auto quick
|
|
||||||
136 attr2
|
|
||||||
137 metadata log auto
|
|
||||||
138 metadata log auto
|
|
||||||
139 metadata log auto
|
|
||||||
140 metadata log auto
|
|
||||||
142 dmapi auto
|
|
||||||
143 dmapi auto
|
|
||||||
144 dmapi auto
|
|
||||||
145 dmapi auto
|
|
||||||
146 dmapi auto
|
|
||||||
147 dmapi auto
|
|
||||||
148 repair auto
|
|
||||||
149 repair auto
|
|
||||||
150 dmapi auto
|
|
||||||
151 dmapi auto
|
|
||||||
152 dmapi auto
|
|
||||||
153 dmapi auto
|
|
||||||
154 dmapi auto
|
|
||||||
155 dmapi auto
|
|
||||||
156 dmapi auto
|
|
||||||
157 dmapi auto
|
|
||||||
158 dmapi auto
|
|
||||||
159 dmapi auto
|
|
||||||
160 dmapi auto
|
|
||||||
161 dmapi auto
|
|
||||||
162 dmapi auto
|
|
||||||
163 dmapi auto
|
|
||||||
164 rw pattern auto prealloc quick
|
|
||||||
165 rw pattern auto prealloc quick
|
|
||||||
166 rw metadata auto quick
|
|
||||||
167 rw metadata auto stress
|
|
||||||
168 dmapi auto
|
|
||||||
169 rw metadata auto quick
|
|
||||||
170 rw filestreams auto quick
|
|
||||||
# the next three tests are not deterministic enough to get the
|
|
||||||
# "right" result on all platforms/configuration, so don't run
|
|
||||||
# them by default.
|
|
||||||
171 rw filestreams
|
|
||||||
172 rw filestreams
|
|
||||||
173 rw filestreams
|
|
||||||
174 rw filestreams auto
|
|
||||||
175 dmapi auto
|
|
||||||
176 dmapi auto
|
|
||||||
177 rw other auto
|
177 rw other auto
|
||||||
178 mkfs other auto
|
|
||||||
179 metadata rw auto
|
|
||||||
180 metadata rw auto
|
|
||||||
181 log auto quick
|
|
||||||
182 metadata rw auto
|
|
||||||
183 rw other auto quick
|
|
||||||
184 metadata auto quick
|
|
||||||
185 dmapi auto
|
|
||||||
186 attr auto quick
|
|
||||||
187 attr auto quick
|
|
||||||
188 ci dir auto
|
|
||||||
189 mount auto quick
|
|
||||||
190 rw auto quick
|
|
||||||
191 nfs4acl auto
|
|
||||||
194 rw auto
|
|
||||||
195 ioctl dump auto quick
|
|
||||||
196 quota auto quick
|
|
||||||
197 dir auto quick
|
|
||||||
199 mount auto quick
|
|
||||||
200 mount auto quick
|
|
||||||
201 metadata auto quick
|
|
||||||
202 repair auto quick
|
|
||||||
203 ioctl auto
|
|
||||||
205 metadata rw auto
|
|
||||||
206 growfs auto quick
|
|
||||||
216 log metadata auto quick
|
|
||||||
217 log metadata auto
|
|
||||||
218 auto fsr quick
|
218 auto fsr quick
|
||||||
220 auto quota quick
|
|
||||||
222 auto fsr ioctl quick
|
|
||||||
227 auto fsr
|
|
||||||
229 auto rw
|
|
||||||
238 auto quick metadata ioctl
|
|
||||||
242 auto quick prealloc
|
|
||||||
243 auto quick prealloc
|
243 auto quick prealloc
|
||||||
244 auto quota quick
|
|
||||||
250 auto quick rw prealloc metadata
|
|
||||||
252 auto quick prealloc
|
|
||||||
253 auto quick
|
|
||||||
254 auto quick
|
254 auto quick
|
||||||
259 auto quick
|
|
||||||
261 auto quick quota
|
|
||||||
262 auto quick quota
|
|
||||||
264 auto
|
264 auto
|
||||||
265 auto
|
265 auto
|
||||||
266 dump ioctl auto quick
|
|
||||||
267 dump ioctl tape
|
|
||||||
268 dump ioctl tape
|
|
||||||
271 auto rw quick
|
271 auto rw quick
|
||||||
272 auto enospc rw
|
272 auto enospc rw
|
||||||
276 auto rw metadata
|
276 auto rw metadata
|
||||||
278 repair auto
|
|
||||||
279 auto mkfs
|
|
||||||
281 dump ioctl auto quick
|
|
||||||
282 dump ioctl auto quick
|
|
||||||
283 dump ioctl auto quick
|
|
||||||
284 auto
|
284 auto
|
||||||
287 auto dump quota quick
|
|
||||||
289 auto quick
|
289 auto quick
|
||||||
290 auto rw prealloc quick ioctl
|
|
||||||
291 repair
|
|
||||||
292 auto mkfs quick
|
|
||||||
293 auto quick
|
|
||||||
295 auto logprint quick
|
|
||||||
296 dump auto quick
|
|
||||||
297 auto freeze
|
|
||||||
298 auto trim
|
298 auto trim
|
||||||
301 aio dangerous ioctl rw stress
|
301 aio dangerous ioctl rw stress
|
||||||
302 aio dangerous ioctl rw stress
|
302 aio dangerous ioctl rw stress
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user