Files
apfstests/tests/xfs/009.out
T
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

115 lines
3.2 KiB
Plaintext

QA output created by 009
*** mkfs
*** mount
*** test 1 - reservations cleared on O_TRUNC
blocksize BSIZE
CMD resvsp, off=0, len=4096000
MAP off=0, len=4096000 [0,1000]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
filesize = 0
blocksize BSIZE
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
filesize = 0
*** test 2 - reserve & filesize
blocksize BSIZE
CMD resvsp, off=0, len=4096000
MAP off=0, len=4096000 [0,1000]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
filesize = 0
*** test 3 - alloc & filesize
blocksize BSIZE
CMD allocsp, off=4096000, len=-1
MAP off=4096000, len=-1 [1000-]
[ofs,count]: start..end
filesize = 4096000
*** test 4 - allocations cleared on O_TRUNC
blocksize BSIZE
CMD allocsp, off=4096000, len=-1
MAP off=4096000, len=-1 [1000-]
[ofs,count]: start..end
filesize = 4096000
blocksize BSIZE
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
filesize = 0
*** test 5 - reserve / unreserve
blocksize BSIZE
CMD resvsp, off=0, len=409600
MAP off=0, len=409600 [0,100]
[ofs,count]: start..end
[0,100]: BLOCKRANGE
CMD unresvsp, off=409600, len=2048000
MAP off=409600, len=2048000 [100,500]
[ofs,count]: start..end
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,100]: BLOCKRANGE
CMD unresvsp, off=3686400, len=819200
MAP off=3686400, len=819200 [900,200]
[ofs,count]: start..end
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,100]: BLOCKRANGE
*** test 6 - reserve adjacent
blocksize BSIZE
CMD resvsp, off=0, len=409600
MAP off=0, len=409600 [0,100]
[ofs,count]: start..end
[0,100]: BLOCKRANGE
CMD resvsp, off=409600, len=409600
MAP off=409600, len=409600 [100,100]
[ofs,count]: start..end
[100,100]: BLOCKRANGE
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,200]: BLOCKRANGE
*** test 7 - alloc
blocksize BSIZE
CMD allocsp, off=4096000, len=-1
MAP off=4096000, len=-1 [1000-]
[ofs,count]: start..end
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
CMD allocsp, off=8192000, len=-1
MAP off=8192000, len=-1 [2000-]
[ofs,count]: start..end
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,2000]: BLOCKRANGE
filesize = 8192000
*** test 8 - alloc & truncate
blocksize BSIZE
CMD allocsp, off=4096000, len=-1
MAP off=4096000, len=-1 [1000-]
[ofs,count]: start..end
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
TRUNCATE off=2048000
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,500]: BLOCKRANGE
filesize = 2048000
*** test 9 - reserve & truncate
blocksize BSIZE
CMD resvsp, off=0, len=4096000
MAP off=0, len=4096000 [0,1000]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
TRUNCATE off=2048000
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
filesize = 2048000
*** unmount