Commit Graph

146 Commits

Author SHA1 Message Date
Eric Sandeen c639e76bdb Add aio-dio-regress tests
Pull in the aio-dio-regress test suite from
http://git.kernel.org/?p=linux/kernel/git/zab/aio-dio-regress.git

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2009-06-03 15:07:02 -05:00
Eric Sandeen a6c2e775ee Test trim of last small AG for large filesystem resizes
As reported at
http://article.gmane.org/gmane.comp.file-systems.xfs.general/29187
this trimming may cause an overflow in the new size calculation.

Patch to fix it, and testcase at
http://article.gmane.org/gmane.comp.file-systems.xfs.general/29193

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2009-05-29 12:48:23 -05:00
Dave Chinner bbcb978f8b xfstests: test 205, test writing to ENOSPC
Use larger files and different writing styles to fill a 100MB filesystem
to being full. In each case we should get very close to the filesystem
being full before getting ENOSPC. This tests different types of ENOSPC
failures to test 203 and requires more changes to pass.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2009-04-13 15:55:41 +02:00
Dave Chinner 143368a047 xfstests: add test 204, a simple delayed allocation ENOSPC test
Using a small (100MB) filesystem and writing lots of single block files
can result in spurious ENOSPCs being reported. Reproduce this test case
so we can confirm that it gets fixed.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2009-04-13 15:51:58 +02:00
Christoph Hellwig d3592f9b21 add test 203, xfs_io bmap reallocation
Test that we can get all extent/hole information for files with more
than 16 extents and 15 holes which require a reallocation based on
XFS_IOC_FSGETXATTR.

Based on a testcase from Tomasz Majkowski <moosh009@gmail.com>.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
2009-03-21 21:05:51 +01:00
Christoph Hellwig b9f1319261 add "quick" group
Add a new group for test to quickly verify WIP patches.  I've started
it by only taking tests fro mthe auto group that take 20 seconds or less
to complete on the kvm virtual machine on my laptop.  The total run
of the quick group takes about 8 minutes for me.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
2009-02-23 14:28:06 +01:00
Christoph Hellwig 3890cf3a80 remove tests 171, 172 and 173 from auto group
I don't have a single machine where these succeed, and due to the wait
the filestreams allocator works these tests might depend on the phase
on the moon to get their expected output.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
2009-02-20 21:53:02 +01:00
Christoph Hellwig 7d1210aa23 add test 202, xfs_repair handling of single-AG filesystems
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
2009-01-25 21:31:16 +01:00
Christoph Hellwig 33d8a3e4f3 add test 201: btree corruption without CONFIG_LBD
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
2009-01-22 21:19:14 +01:00
Christoph Hellwig 22b88d4f52 xfstests: add test 200, exercise read-only block devices and mounts
Make sure we do the right thing with blockdevices with a hard read-only
flag.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
2009-01-10 21:38:24 +01:00
Christoph Hellwig 0569ea9cbf xfstests: add test 199, bad_features2 correction
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
2009-01-10 21:37:27 +01:00
Christoph Hellwig 1d10ce2d5a test 197, add a testcase for d_off truncation
Make sure our directory offsets fit into a 32 bit value.
Based on a report by John Stanley.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
2008-12-31 12:59:19 +01:00
Christoph Hellwig c96afe9caa test 196, add a testcase for renames across project boundaries
Make sure rename across project boundaries is rejected and doesn't
cause hangs.  Based on a report and testcase from Arkadiusz Miskiewicz.

Signed-off-by: Christoph Hellwig <hch@lst.de>
2008-12-31 12:53:33 +01:00
Christoph Hellwig a9e6dbe1b6 test 195, add a testcase for the nodump flag
Based on http://oss.sgi.com/bugzilla/show_bug.cgi?id=340.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
2008-12-31 12:53:21 +01:00
Eric Sandeen 9890a9a98f test 194, test tricky mapping/conversion around holes
Related to
http://oss.sgi.com/bugzilla/show_bug.cgi?id=801

Latest patch posted on that bug makes this testcase pass...

first 2 tests are simple buffred writ tests making sure stale
data isn't exposed, and hole-blocks aren't mapped.

2nd 2 tests are more related to the above bug, tricky testcase
uncovered by fsx on ppc64 which actually re-maps a block
which should be a hole, bringing stale data back into existence.

V2, don't use non-posix awk extensions

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2008-12-30 23:34:17 +01:00
Christoph Hellwig ba3308c83b add more tests to the auto group
make sure we run all tests than don't either take forever or currently fail
(or require a tape drive) to the auto group.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
2008-12-30 23:33:39 +01:00
Tim Shimmin 88dc8b4815 Test out the perm checks in xfs_setattr - chmod, chown, etc..
Merge of master-melb:xfs-cmds:32713a by kenmcd.

  Test out the perm checks in xfs_setattr - chmod, chown, etc..
2008-12-10 14:03:09 +00:00
Tim Shimmin 4a958ea077 Test out that access time is updated correctly in memory and on disk.
Merge of master-melb:xfs-cmds:32647a by kenmcd.

  Test out that access time is updated correctly in memory and on disk.
2008-12-09 14:15:47 +00:00
Barry Naujok e5b8ad3181 Create a tape group for anything which expects
to dump to tape (I guess this is a superset
of "remote" and a few others).  Also, remove
this from the auto group; most people won't have tapes
and -g tape is easy enough (per dchinner's suggestion).
Merge of master-melb:xfs-cmds:32513a by kenmcd.

  create tape group
2008-11-20 14:24:24 +00:00
Tim Shimmin 58963d0f80 Update the group file more completely for nfs4acl support
Merge of master-melb:xfs-cmds:32059a by kenmcd.

  Update nfs4acl group.
2008-09-05 06:19:12 +00:00
Tim Shimmin 841b609ec9 Check in Andreas Gruenbacher's nfs v4 acl tests into the xfstests suite.
Merge of master-melb:xfs-cmds:32058a by kenmcd.

  Run all the tests in xfstests/nfs4acl
2008-09-05 06:18:15 +00:00
Peter Leckie e6e55060ae Add test to check unreserve space hole is the same as what we requested.
Merge of master-melb:xfs-cmds:31945a by kenmcd.

  Add test to check unreserve space hole is the same as what we requested.
2008-08-22 06:11:29 +00:00
Peter Leckie ec3e4f82d6 Disable tests 098 101 and 102 from running under the auto group.
Merge of master-melb:xfs-cmds:31943a by kenmcd.

  Disable tests 098 101 and 102 from running under the auto group.
2008-08-22 06:10:39 +00:00
Tim Shimmin ff59b130ac Add 017 to mount group. At Christoph's reminder.
Merge of master-melb:xfs-cmds:31913a by kenmcd.

  add 017 to mount group
2008-08-18 03:59:14 +00:00
Tim Shimmin 8b9019b609 Add a bunch of tests for remount code.
Written by Christoph and amended by Tim to do some more testing
with fstab etc.
Merge of master-melb:xfs-cmds:31909a by kenmcd.

  remount test
2008-08-15 16:11:24 +00:00