Chandan Rajendra
0e2b99951f
xfs/139: work with 64k block size
...
For 64k block size, the agsize provided in the test causes mkfs.xfs to
fail due to insufficient log space. Hence this commit computes agsize
based on block size of the filesystem.
Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com >
Tested-by: Zorro Lang <zlang@redhat.com >
Signed-off-by: Eryu Guan <guaneryu@gmail.com >
2018-09-30 13:57:50 +08:00
Darrick J. Wong
89f436e3ac
reflink: remove unnecessary umounts from test code
...
The test harness already takes care of this, so get rid of it.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com >
2016-02-12 09:39:04 -08:00
Christoph Hellwig
3cca5094d6
xfs/139: fix scratch device filtering
...
Signed-off-by: Christoph Hellwig <hch@lst.de >
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com >
Signed-off-by: Dave Chinner <david@fromorbit.com >
2016-02-08 09:27:15 +11:00
Darrick J. Wong
877d1daada
reflink: test ENOSPC when expanding btrees during reflink operations
...
See what happens when we ENOSPC while growing a btree on behalf of
some reflink operation.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com >
Signed-off-by: Dave Chinner <david@fromorbit.com >
2015-12-21 18:20:38 +11:00
Jaegeuk Kim
9db4da5c43
generic: relocate xfs shutdown tests into tests/generic/
...
This patch moves the generic testcases defined in xfs into
tests/generic/.
xfs/053 -> generic/042
xfs/137 -> generic/043
xfs/138 -> generic/044
xfs/139 -> generic/045
xfs/140 -> generic/046
xfs/179 -> generic/047
xfs/180 -> generic/048
xfs/182 -> generic/049
xfs/200 -> generic/050
xfs/306 -> generic/051
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org >
Reviewed-by: Dave Chinner <dchinner@redhat.com >
Signed-off-by: Dave Chinner <david@fromorbit.com >
2015-02-12 14:20:27 +11:00
Dave Chinner
fc48dfb966
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 >
2013-03-26 18:27:34 -05:00