Commit Graph

24 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 1e814bd4f3 libxfs.h is really only needed for the loggen test;
make it config-time optional.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@infradead.org>
2009-06-02 15:36:13 -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
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
Nathan Scott c25b74b3f7 Dont write to /dev/console explicitly, its bad form.
Merge of master-melb:xfs-cmds:23723a by kenmcd.
2005-09-05 06:02:20 +00:00
fsgqa 2a2df8fbc6 QA test updates - fix 044 check, shorten 083 runtime, check for EAGAIN as well as EBUSY in the mtab lock tester program. 2004-07-01 00:05:11 +00:00
ptools cb6beb9759 Fixed merge problems 2004-06-15 07:32:36 +00:00
Nathan Scott f419391566 Remove (busted anyway) Id rcs keywords for keeping trees in sync 2003-06-24 06:21:22 +00:00
fsgqa 3f1c6c654d QA test updates for external log/rt devices.
Make sure we don't run this test with mutually exclusive mkfs options.
2003-05-26 06:34:31 +00:00
fsgqa 8050efd492 Numerous changes to QA scripts allowing tests to run with external log/rt devices; also allow multiple mkfs/mount options at once now. 2003-05-22 04:16:45 +00:00
fsgqa 3b926fda5e really fix so this can still function when MKFS_OPTIONS include v2 logs.
still just a workaround, real fix for v2 logs is much more involved.
2002-09-02 03:45:25 +00:00
fsgqa af943cb4c6 simple change to make this work for v2 logs - should be revisited. loggen
tool needs real v2 log support...
2002-09-01 11:48:05 +00:00
Nathan Straz 25e71d60aa Fix more filters that will fail on xscsi names 2002-07-31 22:21:07 +00:00
Eric Sandeen 3ef12e3824 Update copyright dates (again) 2002-06-04 23:07:56 +00:00
Eric Sandeen bc4eb461ae Undoes mod: xfs-cmds:slinx:120772a
Undo xfs-cmds:slinx:120772a, inadvertently whacked a previous mod.
2002-06-04 22:53:09 +00:00
Eric Sandeen 8ce73f8626 Update copyright dates 2002-06-04 17:58:21 +00:00
fsgqa 365a57b8d5 express the logsize at mkfs time in units of bytes, not blocks; allows the
test to work for non-4K blocksizes.
2002-05-10 02:43:53 +00:00
fsgqa eb10a2bcd8 fix typo in header comment. 2002-05-09 06:09:58 +00:00
fsgqa f29425d6f7 tidy mkfs parameterisation, -f option pulled into common.rc. 2002-05-06 07:44:22 +00:00
Nathan Scott 36d5db422b allow mkfs arguments to be passed from the env for testing multiple
block sizes.
2002-01-20 00:47:43 +00:00
Nathan Scott a985c8bd46 really fix 044 and its use of _unexpected this time. 2001-09-19 05:33:51 +00:00
Nathan Scott 681779d8ab define an _unexpected routine to handle unexpected command failure. 2001-09-18 23:49:43 +00:00
Nathan Scott 27fba05e66 cmd/xfs/stress/001 1.6 Renamed to cmd/xfstests/001 2001-01-15 05:01:19 +00:00