Commit Graph

7 Commits

Author SHA1 Message Date
Josef 'Jeff' Sipek 94c9728880 xfstests: make the mode consistent for all the test scripts
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@eecs.umich.edu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2009-04-13 15:45:41 +02:00
Dave Chinner e714acc0ef reduce the number of processes forked
One of the big cpu time consumers when running xfsqa on UML
is forking of new processes. when looping lots of times,
using 'expr' to calculate the loop counter increment means
we fork at least once every loop. using shell builtins means
that we don't fork and many tests run substantially faster.

Some tests are even runnable with this modification. e.g. 110
went from taking 4500s to run down to 9s with the loop iterators
changed to avoid forking.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2009-03-25 20:53:36 +01:00
Lachlan McIlroy 5ac26da787 Fix the file size checks so it works on IRIX too.
Merge of master-melb:xfs-cmds:30336a by kenmcd.

  Fix the file size checks so it works on IRIX too.
2008-01-15 14:59:05 +00:00
Lachlan McIlroy 979ed6f333 Check filesystem after log replay and abort test if errors found
Merge of master-melb:xfs-cmds:29730a by kenmcd.

  Check filesystem after log replay and abort test if errors found
2007-09-20 06:13:47 +00:00
Lachlan McIlroy 2659a01a6b Abort tests if a failure is encountered while creating/writing test files.
Merge of master-melb:xfs-cmds:29728a by kenmcd.

  Abort tests if a failure is encountered while creating/writing test files.
2007-09-20 06:13:02 +00:00
Lachlan McIlroy 5db9372a13 Report errors for missing files and check for correct file sizes
Merge of master-melb:xfs-cmds:29557a by kenmcd.

  Report errors for missing files and check for correct file sizes
2007-08-30 16:09:49 +00:00
Lachlan McIlroy 53a2bd6253 Test that fsync/sync force file size changes to disk.
Merge of master-melb:xfs-cmds:29441a by kenmcd.

  Test that fsync forces file size changes to disk.
2007-08-20 06:19:41 +00:00