summaryrefslogtreecommitdiff
path: root/187
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-10-21 21:11:48 +0200
committerChristoph Hellwig <hch@lst.de>2010-10-21 21:11:48 +0200
commit5411ceb991a363d023c41f86dbb49f202c210365 (patch)
treed7866c18230233c9eaa43398aa6afc3a36d09b30 /187
parentf1436346b45d7ecb9d4d0be0fd4c1b456a2bf357 (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-x1876
1 files changed, 5 insertions, 1 deletions
diff --git a/187 b/187
index ad280515..8086c8e3 100755
--- a/187
+++ b/187
@@ -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