Commit Graph

17 Commits

Author SHA1 Message Date
Christoph Hellwig a64bf4cd24 fix 122 for recent xfsprogs
- filter out xfs_alloctype_t, this was an internal emum that got removed
 - filter out xfs_bmbt_rec_32_t, this is a variant of the xfs_bmbt_rec_t
   that had almost no users and was removed
 - filter out xfs_dinode_core_t, the separate dinode core is gone, and just
   checking the size of the full dinode is enough
 - accept xfs_bmbt_rec_t as the new canonical name for xfs_bmbt_rec_64_t,
   and replace the old name with the new one in the output stream.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
2011-10-13 10:44:31 -05:00
Arkadiusz Miśkiewicz 903b50fad9 Don't hardcode paths to many binaries.
Stop hardcoding paths to getfattr, setfattr, attr, quota, xfs_quota,
killall, indent and xfs_copy binaries.

Signed-off-by: Arkadiusz Miśkiewicz <arekm@maven.pl>

- new
Signed-off-by: Christoph Hellwig <hch@lst.de>
2010-09-11 19:34:47 -03: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
Eric Sandeen e17b2a1acb don't run 122 if required headers aren't found
Now that libxfs etc is optional, 122 (which compiles on the fly)
is failing if those extra headers are missing.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2009-06-03 13:12:20 -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
Eric Sandeen 7c75dff3dd Revert "patch more_set_prog_path"
This reverts commit b2fcff900d.

This snuck in unintentionally due to my weak git-fu,
and was breaking things.
2009-04-23 12:42:32 -05:00
Eric Sandeen b2fcff900d patch more_set_prog_path 2009-04-19 15:48:48 -05:00
Barry Naujok 2c578cb87f Update xfsprogs to latest kernel headers and functions
Merge of master-melb:xfs-cmds:32070a by kenmcd.
2008-09-08 06:18:43 +00:00
Brad Scarlett f818b1956b Tims patch to fix test 122: the __arch_pack stuff is confusing it - as was the case in the past
with the "attribute packed" stuff for the efi/efd items etc..
It is confusing the parsing which works out the type names.
Merge of master-melb:xfs-cmds:31658a by kenmcd.
2008-07-17 04:11:10 +00:00
Barry Naujok acd3e44ecf Add support for sb_bad_features2 in QA 122
Merge of master-melb:xfs-cmds:31022a by kenmcd.

  Add support for sb_bad_features2 in superblock structure
2008-05-05 06:25:29 +00:00
Tim Shimmin b421fb16f8 Stop creating shit files.
Merge of master-melb:xfs-cmds:30010a by kenmcd.

  Stop creating shit files.
2007-11-02 05:15:58 +00:00
Barry Naujok 47ce499d64 Fix up QA for xfsprogs 2.9.x
Merge of master-melb:xfs-cmds:29298a by kenmcd.

  Golden output is slightly wrong for xfs_repair 2.9.2+
2007-08-02 06:20:02 +00:00
David Disseldorp dfd5bd939e XFSQA 122 on machines with xfs_lazy_sb.patch have failed due to the addition of __be32 agf_btreeblks to xfs_agf_t.
This change causes 122 detect whether the patch is installed by greping for lazy count in mkfs output, the xfs_agf_t size is then filtered based on the patch status.
The original intention was to check /lib/modules/$(uname -r)/source/fs/xfs/xfs_ag.h for btreeblks and filter on this, however the kernel source is not a prereq for XFSQA.
Merge of master-melb:xfs-cmds:28014a by kenmcd.

  pipe get_structs.c output through _type_size_filter to filter out known changes to xfs type sizes
2007-02-05 02:52:17 +00:00
Nathan Scott c2d923693c Check for indent command before running test 122.
Merge of master-melb:xfs-cmds:26354a by kenmcd.
2006-06-26 15:40:22 +00:00
Allan Randall 6631e39f44 Ordered test and golden output files as test was failing due to sizeof( xfs_alloctype_t ) = 4 being on a different line
Merge of master-melb:xfs-cmds:26276a by kenmcd.

  Ordered test and golden output files as test was failing due to sizeof( xfs_alloctype_t ) = 4 being on a different line
2006-06-19 06:10:49 +00:00
Tim Shimmin 543e4a76fa An attempt at looking at the sizes of xfs structures with exclusions
for ones that we know are different.
The aim is to help pick up on extensions to structures and addition
of structures which for instance may vary on 32 bit and 64 bit word size
versions.
Merge of master-melb:xfs-cmds:26056a by kenmcd.

  An attempt at looking at the sizes of xfs structures with exclusions
  for ones that we know are different.
  The aim is to help pick up on extensions to structures and addition
  of structures which for instance may vary on 32 bit and 64 bit word size
  versions.
2006-05-26 15:38:44 +00:00