Commit Graph

985 Commits

Author SHA1 Message Date
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
Barry Naujok ed08552846 Fix nametest.c warnings
Merge of master-melb:xfs-cmds:32013a by kenmcd.

  Fix nametest.c build warnings
2008-09-01 15:59:10 +00:00
Barry Naujok ca340eaf41 Update QA 096 for ASCII CI mkfs output
Merge of master-melb:xfs-cmds:31997a by kenmcd.

  Execute bits changed from xxx to ---
  Update for ASCII CI mkfs output
2008-08-28 04:09:33 +00:00
Peter Leckie a7125ed1bb Fix test 190 to work file filesystems with bsize other then 4096.
Merge of master-melb:xfs-cmds:31968a by kenmcd.

  Fix test 190 to work file filesystems with bsize other then 4096.
2008-08-26 16:11:33 +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
Brad Scarlett 892272e603 Various tests were incorrectly identifying themselves in header comments
Merge of master-melb:xfs-cmds:31874a by kenmcd.

  Change Header comment to correctly identify test name
2008-08-12 04:14:21 +00:00
Brad Scarlett 421f622445 xfstests/145 has an incorrect comment describing itself as FSQA Test 142
Merge of master-melb:xfs-cmds:31872a by kenmcd.
2008-08-11 16:05:45 +00:00
Brad Scarlett f818b1956b Tims patch to fix test 122: the __arch_pack stuff is confusing it - as was the case in the past
with the "attribute packed" stuff for the efi/efd items etc..
It is confusing the parsing which works out the type names.
Merge of master-melb:xfs-cmds:31658a by kenmcd.
2008-07-17 04:11:10 +00:00
Tim Shimmin 5316024f6f If test 078 fails and you try to run it again immediately, it
will execute a 'rm -f' on a directory which will fail. This should
be a rmdir....

Signed-off-by: Dave Chinner <dgc@sgi.com>
Merge of master-melb:xfs-cmds:31637a by kenmcd.

  If test 078 fails and you try to run it again immediately, it
  will execute a 'rm -f' on a directory which will fail. This should
  be a rmdir....  Signed-off-by: Dave Chinner <dgc@sgi.com>
2008-07-15 06:17:47 +00:00
Barry Naujok 4152ce81d7 Add CI stat/create/unlink test for multiple directory forms
Merge of master-melb:xfs-cmds:31348a by kenmcd.

  Do CI stat/create/unlink test for multiple directory forms
2008-06-24 16:30:43 +00:00
Barry Naujok 2c8dbd49c8 Add CI stat/create/unlink test for multiple directory forms
Merge of master-melb:xfs-cmds:31347a by kenmcd.

  Add genhashnames target
2008-06-24 16:29:51 +00:00
Donald Douwsma 36763daef8 fix XFSQA 145 / test_hole
There are two errors I see all the time in 145:

 - dm_probe_hole returns EINVAL for offsets close to the file size
 - dm_probe_hole wants EAGAIN for a probe at offset 1, length 0


The first error is a consequence of how the hole puching / probing
works.  It always rounds the requested offset up to the next block
size and then checks if that rounded offset still fits into the file
size.  Just do the same rounding in the testcase to make sure we don't
probe invalid offsets.

The second error is very odd to me, as we never return AGAIN in the
whole dm_probe_hole path.  I've just commented it out.

I've also re-enabled the E2BIG to past-EOF test that was uncommented
before because it works perfectly fine now.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of master-melb:xfs-cmds:31330a by kenmcd.

  fix XFSQA 145 / test_hole
2008-06-18 16:09:09 +00:00
Donald Douwsma 7d8939d27c Fix XFSQA test 144
Two really dumb bugs:

 - "foo & 0x3FFFFFFFFFFFF" doesn't cap at 1TB, but rather at more than
   two magnitudes larger than that.  That gets us EFBIG with typical
   32bit XFS setups.
 - the command array can easily overflow and thus let the test fail


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of master-melb:xfs-cmds:31327a by kenmcd.

  Fix XFSQA test 144
2008-06-18 16:08:20 +00:00
Niv Sardi d36fc6847d 074 takes ages to complete on my kvm test VM, but scaling it back to the
level used on IRIX makes it complete in slightly under 10 minutes.

I'm not sure if checking for UP vs SMP is the right way to go into slow
mode, but I couldn't think of anything better.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of master-melb:xfs-cmds:31272a by kenmcd.
2008-06-04 04:25:32 +00:00
Barry Naujok cf09031550 mkfs.reiserfs refuses to create a filesystem on full devices without
partitions unless it's given -f in addition to the already required Y
input to confirm the fs creation, so give the argument to it.

While we're at it also write the full command line used to create the
filesystem into the log to ease future debugging.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of master-melb:xfs-cmds:31250a by kenmcd.

  Execute bits changed from xxx to ---
  Fix up test with reiserfs
2008-05-29 17:01:09 +00:00
Brad Scarlett c7167f667a Fix 073 to run on sles10 systems
Merge of master-melb:xfs-cmds:31236a by kenmcd.
2008-05-28 04:05:02 +00:00
Dave Chinner 5fac0336b9 Don't run 167 if killall is not installed
Test 167 will leave runaway fsstress processes around in case killall is
not installed and thus make all following tests fail.  This patch checks
for killall beeing installed and error out otherwise.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of master-melb:xfs-cmds:31171a by kenmcd.

  don't run if killall is not installed.
2008-05-15 16:39:01 +00:00
Dave Chinner 7e47b27f05 Fix pathname filter issue.
If the path to the file being bmap'd has a [0-9] in it,
the output filter matches it and we get golden output
failure. Be more specific on the match.
Merge of master-melb:xfs-cmds:31170a by kenmcd.

  Be more specific when trying to match extent output lines.
2008-05-15 16:38:14 +00:00
Dave Chinner 247f0f7d14 Don't use /tmp for hosting loopback images
/tmp might be small, might not support files larger than 2GB,
etc, so trying to host loopback images of 100GB filesystems
will break in some situations. We should use $TEST_DIR for the
images.

Note: remounting of loopback images has a major bug (in mount)
that "leaks" loopback device references. Hence all the hackery
with losetup to work around this.
Merge of master-melb:xfs-cmds:31169a by kenmcd.

  Don't use /tmp for hosting loopback images
2008-05-15 16:37:27 +00:00
Dave Chinner 60f3da6dc9 With the recent change for reliability with 64k page size
made to test 008,the file sizes got much larger. It appears
that randholes actually reads the entire file, so this has
slowed the test down by a factor of ten (all file sizes
were increased by 10x). This means the test is now taking
about 18 minutes to run on a UML session, and all the time
is spent reading the files.

Instead, scale the file size based on the page size. We know
how many holes we are trying to produce and the I/O size
being used to produce them, so the size of the files can be
finely tuned. Assuming a decent random distribution, if the
number of blocks in the file is 4x the page size and the
I/O size is page sized, this means that every I/O should
generate a new hole and we'll only get a small amount of
adjacent extents. This has passed over 10 times on ia64
w/ 64k page and another 15 times on UML with 4k page.

UML runtime is down from ~1000s to 5s, ia64 runtime is down from
~30s to 7s.
Merge of master-melb:xfs-cmds:31168a by kenmcd.

  Greatly reduce runtime by reducing filesizes down to sane minimum.
2008-05-15 16:36:40 +00:00
Mohamed Barwani 38e49e4e15 Test 180 breaks if you have long device paths
Use -P for df to fix it

       -P, --portability
              use the POSIX output format
Merge of master-melb:xfs-cmds:31162a by kenmcd.

  fix df for long /dev paths
2008-05-15 04:23:55 +00:00