Commit Graph

948 Commits

Author SHA1 Message Date
Dave Chinner 80b2c990d0 xfsqa 165 - fails if environment LANG != C
Merge of master-melb:xfs-cmds:30992a by kenmcd.

  export the language that all tests will run under to prevent
  language settings from affecting test output and giving
  spurious failures when comparing against golden output.
2008-04-28 06:25:22 +00:00
Tim Shimmin 842ac7ab6e Test out bug in xfs_attr_shortform_bytesfit for its use of m_attroffset
instead of di_forkoff.
Merge of master-melb:xfs-cmds:30863a by kenmcd.

  Test out bug in xfs_attr_shortform_bytesfit for its use of m_attroffset
  instead of di_forkoff.
2008-04-14 06:17:54 +00: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 9b1a4bd08e xfsqa 185 shouldn't have uninitialised variables in the golden output
Kill the output of uninitialised values when punching a hole.
This prevents the test from passing on just about everything.
Merge of master-melb:xfs-cmds:30762a by kenmcd.

  remove roffp and rlenp output for punch operations.
2008-04-08 06:20:04 +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
Mohamed Barwani 6d91bcc8b9 Update ln filter to work with ln (version < 6.x)
Merge of master-melb:xfs-cmds:30759a by kenmcd.

  added a regular expression on the filter to check before replacing.
2008-04-08 03:59:48 +00:00
Niv Sardi 9a3b0f6db9 Finish TAKE, the last one lacked the Makefile modifications.
Merge of master-melb:xfs-cmds:30720a by kenmcd.
2008-03-27 03:18:28 +00:00
Tim Shimmin 89c6e8060f add dump/restore paths to xfstests/common.dump and set up path for bc
Merge of master-melb:xfs-cmds:30712a by kenmcd.

  add dump/restore paths to xfstests/common.dump and set up path for bc
2008-03-26 03:28:24 +00:00
Dave Chinner d810cfac14 XFSQA 103: filter ln output
More recent versions of ln (version >= 6.0) have a different error
output. update the filter to handle this.
Merge of master-melb:xfs-cmds:30705a by kenmcd.

  update filter to handle new ln error output.
2008-03-26 03:27:32 +00:00
Dave Chinner 68ab50e2cb Make test 141 work on 64k page size machines
Make the file larger and read 64k from it instead of 16k
so that it pulls in a full page from the middle of the file.
Merge of master-melb:xfs-cmds:30703a by kenmcd.

  Use a large file and 64k I/O size so the test works on 64k page
  size machines.
2008-03-25 05:20:38 +00:00
Dave Chinner 5c62a6cdf4 xfsqa test 166 fails on 64k page machine
test 166 output is dependent on page size (mmap related). Make
the output filter turn the output into something independent of
page size whilst checking that the output is valid.
Merge of master-melb:xfs-cmds:30702a by kenmcd.

  Make the file size and I/O size large enough that 64k pages are
  handled correctly.
2008-03-25 05:19:50 +00:00
Niv Sardi 17ba6b295e 054 needs quota support to run, but doesn't make that explicit.
Signed-off-by:  Eric Sandeen <sandeen@sandeen.net>
Merge of master-melb:xfs-cmds:30700a by kenmcd.

  054 needs quota support to run, but doesn't make that explicit.
2008-03-25 05:19:01 +00:00
Tim Shimmin 9d97b8f136 change emu owner
Merge of master-melb:xfs-cmds:30698a by kenmcd.

  change emu owner
2008-03-25 05:18:12 +00:00
Barry Naujok 2445815a60 Take out fsgqa user requirement as it isn't used
Merge of master-melb:xfs-cmds:30691a by kenmcd.

  Take out fsgqa user requirement as it isn't used
2008-03-19 15:33:35 +00:00
Niv Sardi d6efccf1c4 Add test to group file
Merge of master-melb:xfs-cmds:30690a by kenmcd.
2008-03-19 05:17:32 +00:00
Barry Naujok 3768e3b4ad Fix up QA tests for mkfs behaviour changes
Merge of master-melb:xfs-cmds:30689a by kenmcd.

  Force the agcount to 6 to keep behaviour the same as old and new
2008-03-19 03:18:01 +00:00
Barry Naujok 1d368392c1 Add xfsprogs version number as environment variable for QA
Merge of master-melb:xfs-cmds:30672a by kenmcd.

  Add xfsprogs version number as environment variable for QA
2008-03-14 03:18:10 +00:00
Niv Sardi 2dc575fe26 introducing lsqa.pl [ --help | -? ] [ --head | -h ] [ --body | -b ] [ --lines | -l ] [ --one-line | -1 ]
[ --help | -? ] 	Show this help message.
	[ --head | -h ] 	Shows only the head of the QA test
	[ --body | -b ] 	Shows only the body of the QA test.
	[ --lines | -l ] 	Outputs everything in n lines
	[ --one-line | -1 ] 	Same as --lines=1.
Merge of master-melb:xfs-cmds:30646a by kenmcd.
2008-03-12 05:22:38 +00:00
Barry Naujok e40dd503c4 Fix golden output for QA 078
Merge of master-melb:xfs-cmds:30616a by kenmcd.

  Fix golden output for QA 078
2008-03-05 05:25:08 +00:00
Niv Sardi c77cdc9151 Update xfstests for new mkfs output
Update test 082 for new filtred output
    Update test 081 for new filtred output
    Update test 018 for new filtred output
    xfstests: filter out logprint inode version (and format)
Merge of master-melb:xfs-cmds:30583a by kenmcd.
2008-02-27 03:22:03 +00:00
Niv Sardi 98df5b85a7 xfstests: add test 185, Dmapi Punch/Probe Alignment compared to xfsctl(FREESPACE),
tests PV 976771, by trying to punch a hole that's not page aligned but block aligned
Merge of master-melb:xfs-cmds:30582a by kenmcd.

  New QA test
2008-02-27 03:20:18 +00:00
Lachlan McIlroy 13ac0e3cd5 fix XFSQA #184 for multiple invocations
Make sure the device node is removed before creating it to allow running
the testcase multiple times without recreating the filesystem.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of master-melb:xfs-cmds:30540a by kenmcd.

  fix XFSQA #184 for multiple invocations
2008-02-25 05:19:03 +00:00
Mohamed Barwani eb29f379b6 Added a new machine to run auot XFSQA.
Merge of master-melb:xfs-cmds:30424a by kenmcd.
2008-01-25 03:12:20 +00:00
Lachlan McIlroy 5ac26da787 Fix the file size checks so it works on IRIX too.
Merge of master-melb:xfs-cmds:30336a by kenmcd.

  Fix the file size checks so it works on IRIX too.
2008-01-15 14:59:05 +00:00
Niv Sardi ca74d86f8f source /etc/xfsqa.config
This is used by uml.sh script to generate proper per-generic machine configs for xfsqa
Merge of master-melb:xfs-cmds:30294a by kenmcd.
2008-01-03 05:16:17 +00:00