Commit Graph

14 Commits

Author SHA1 Message Date
Dave Chinner 771e69de67 xfstests: Convert all tests to use /bin/bash
While most tests use /bin/sh, they are dependent on /bin/sh being a
bash shell.  Convert all the tests to execute via /bin/bash as it is
much, much simpler than trying to debug and remove all the bashisms
throughout the test code.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
2010-01-20 10:27:08 +11:00
Eric Sandeen 93fd6a4cbb Move duplicated xfs_io filters to common.filter
Also fix up 132 output, which was misfiltered due
to a bug in the filtering.

Doing this because I need this same filter for the next
added test.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2009-06-24 12:57:24 -05:00
Christoph Hellwig f381f98206 xfstests: move GPL boilerplates to fix lsqa.pl
It turns out lsqa.pl nees the test number and description first in the
file, so move the GPL boilerplates below it.

Also remove acouple of cases where we have one full copyright line + gpl
boilerplate before the description and another copyright line after
the description.

Signed-off-by: Christoph Hellwig <hch@lst.de>
2009-05-28 17:04:15 +02:00
Felix Blyakher 65491dc047 Add GPL license plate to SGI's test files.
Signed-off-by: Felix Blyakher <felixb@sgi.com>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Felix Blyakher <felixb@sgi.com>
2009-05-26 16:51:14 -05: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
Nathan Scott 640164847a Update copyright annotations and license boilerplates to correspond with SGI Legals preferences.
Merge of master-melb:xfs-cmds:24327a by kenmcd.
2005-11-09 02:49:08 +00:00
Tim Shimmin 5493d867dc fix filter name - got to carried away with search and replace
for XFS_IO_PROG.
Merge of master-melb:xfs-cmds:22793a by kenmcd.

  fix filter name - got to carried away with search and replace
  for XFS_IO_PROG.
2005-06-03 06:07:55 +00:00
Tim Shimmin 3ef27d6443 xfs_io -> XFS_IO_PROG as used by dgc
Merge of master-melb:xfs-cmds:22779a by kenmcd.
2005-06-02 15:09:19 +00:00
ptools cb6beb9759 Fixed merge problems 2004-06-15 07:32:36 +00:00
fsgqa 7ee547a8ad Improve filters for a couple of the tests using xfs_io. 2004-03-19 00:01:18 +00:00
Nathan Scott 8eca8edc9f Update xfs_io filter to exclude some additional output being added shortly. 2003-11-27 22:08:54 +00:00
fsgqa 1e9cf89f83 Fix test 071 upper bound for 64 bit platforms 2003-09-16 07:22:33 +00:00
fsgqa 93a5389176 Fix up test 071, exercising IO to files at the size boundary, add to auto QA group 2003-07-22 04:27:19 +00:00
fsgqa 30f93b8e71 QA updates and a couple of new tests.
Exercise some of the limits for large file handling on 32-bit-sector_t systems.
2003-07-07 03:34:36 +00:00