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>
xfsdump output changed. This mod fixes the expected output for the xfsdump
tests, as well as a few other minor bugs I came across when running the
xfsdump qa tests.
ensure each file modification will have at least 2 sec gap
Merge of xfs-cmds-melb:slinx:20713a by kenmcd.
fix up the debug date output as would be seen in the full file
ensure each file modification will have at least 2 sec gap