diff options
author | Christoph Hellwig <hch@lst.de> | 2010-10-21 21:11:48 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2010-10-21 21:11:48 +0200 |
commit | 5411ceb991a363d023c41f86dbb49f202c210365 (patch) | |
tree | d7866c18230233c9eaa43398aa6afc3a36d09b30 /187 | |
parent | f1436346b45d7ecb9d4d0be0fd4c1b456a2bf357 (diff) |
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>
Diffstat (limited to '187')
-rwxr-xr-x | 187 | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -51,11 +51,15 @@ _filter_version() # get standard environment, filters and checks . ./common.rc . ./common.filter +. ./common.attr # real QA test starts here -_require_scratch _supported_fs xfs _supported_os Linux + +_require_scratch +_require_attrs + rm -f $seq.full # lazysb and attr2 are in features2 and will require morebitsbit on |