Commit Graph

20 Commits

Author SHA1 Message Date
Christoph Hellwig 5411ceb991 xfstests: add _require_attrs
Add a new helper to check if extended attributes are supported.  It
errors out if any of the attr tools are not found, or if a filesystem
does not support setting attributes.

Remove the opencoded checks for the attr tools from various tests
now that we do them in common code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
2010-10-21 21:11:48 +02: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
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
Nathan Scott de6d86177f QA test updates - fixes for pquota, extsize, fsstress, and ensure mount options passed through to test_dev.
Merge of master-melb:xfs-cmds:24763a by kenmcd.
2005-12-09 02:52:22 +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
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
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
Nathan Scott 1039f2f3e3 Merge of xfs-cmds-2.4.18:slinx:112579a by nathans.
getfattr -a --> --absolute-names.
2002-02-25 23:10:01 +00:00
Nathan Scott 6fc3389690 Merge of xfs-cmds-2.4.18:slinx:112376a by nathans.
force text encoding to be used to overcome AndreasG print heuristics.
2002-02-25 22:53:12 +00:00
fsgqa 54a448db29 Merge of xfs-cmds-2.4.18:slinx:111985a by nathans.
getfattr/setfattr fixes
2002-02-25 22:33:42 +00:00
Nathan Scott 958b881b08 Merge of xfs-cmds-2.4.18:slinx:111140a by nathans.
minor changes to xfstests as we transition to new EA/ACL interfaces.
2002-02-25 22:12:17 +00:00
Steve Lord 8f253cf43d xfs_attr is now called attr 2001-01-19 17:15:32 +00:00
Nathan Scott 27fba05e66 cmd/xfs/stress/001 1.6 Renamed to cmd/xfstests/001 2001-01-15 05:01:19 +00:00