Commit Graph

5 Commits

Author SHA1 Message Date
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 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 f58c8364be Don't delete test files if they are corrupt.
Merge of master-melb:xfs-cmds:29726a by kenmcd.

  Don't delete test files if they are corrupt.
2007-09-20 04:15:11 +00:00
Lachlan McIlroy 8434010b79 More tests for the NULL files problem
Merge of master-melb:xfs-cmds:27632a by kenmcd.

  Fix test number and simplify test case
2006-12-05 05:07:45 +00:00