Commit Graph

12 Commits

Author SHA1 Message Date
Jeff Moyer 3e4fb26f0c 091: fix up output when pagesize == sectorsize
It looks like test 091 is supposed to work on 2.4 kernels, but there's
no way it will.  Checking the actual blocksize and pagesize in the
run_fsx routine, and substituting them for BSIZE and PSIZE is error
prone when the two hold the same value.  This is also a problem for 4k
sector devices.  It's better to pass in what we want (PSIZE or BSIZE)
and then convert that to the command line options that fsx wants in the
run_fsx routine.  This gets rid of the bogus test failure in my
environment.  Also, the setting of bsize for linux-2.6 was redundant, so
I got rid of it.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2011-02-16 11:39:53 +01:00
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
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 8de94fc04c Fix the filtering of xfsinfo by punting stdout to /dev/null.
Merge of master-melb:xfs-cmds:30837a by kenmcd.

  Fix the filtering of xfsinfo by punting stdout to /dev/null.
2008-04-10 06:20:11 +00:00
Dave Chinner a4d1721436 Test 091 fails on sector size != 512 bytes
Test 091 assumes a direct I/O alignment of 512 bytes,
a hold over from 2.4 kernels. On 2.6. kernels, direct
I/O needs to be aligned to the sector size the filesystem
was mkfs'd with.
Merge of master-melb:xfs-cmds:30760a by kenmcd.

  Teach 091 about 2.6 kernels and grab the sector size from the
  xfs_info output.
2008-04-08 04:00:40 +00:00
Tim Shimmin 7584d33f1b Put the output of fsx into seq.full and output all of seq.full on failure.
Just to give more context around the error if we get one.
Merge of master-melb:xfs-cmds:28068a by kenmcd.

  Put the output of fsx into seq.full and output all of seq.full on failure.
  Just to give more context around the error if we get one.
2007-02-12 05:08:57 +00: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 5ed0f19a49 Switch over pagesize feature.c option, add a check for project quota.
Merge of master-melb:xfs-cmds:21941a by kenmcd.
2005-03-24 05:05:35 +00:00
Tim Shimmin 4c56e56f91 xfs qa changes to get thinks working on irix
add verbosity to a file for debugging
reduce iteration count
2004-08-10 03:55:47 +00:00
Tim Shimmin 0e5f6a8c42 irix qa stuff
have different output for linux and irix
our access checks aren't quite the same -
they have been corrected on linux due to some
complaints
2004-08-05 08:28:48 +00:00
fsgqa c7b3f90989 Add QA test to exercise the direct IO fsx invocations that showed problems 2004-07-06 07:13:24 +00:00