xfstests: rename _acl_requirements to _require_acls

Most requirement tests are named _require_foo, so just
make this more consistent.

Also remove a few redundant tests for /usr/bin/chacl
since _require_acls covers that.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Eric Sandeen
2010-02-05 11:04:10 -06:00
parent 45768396f0
commit 1728089cc9
7 changed files with 8 additions and 10 deletions
+1 -2
View File
@@ -73,7 +73,6 @@ _cleanup()
_supported_fs xfs udf
_supported_os Linux
[ -x /usr/bin/chacl ] || _notrun "chacl executable not found"
[ -x $runas ] || _notrun "$runas executable not found"
rm -f $seq.full
@@ -82,7 +81,7 @@ _setup_testdir
_need_to_be_root
_acl_setup_ids
_acl_requirements
_require_acls
# get dir
cd $testdir
+1 -1
View File
@@ -42,7 +42,7 @@ _supported_fs generic
_supported_os Linux
_require_scratch
_acl_requirements
_require_acls
_acl_setup_ids
_do_die_on_error=y
test=$SCRATCH_MNT/test
+1 -3
View File
@@ -41,10 +41,8 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
_supported_fs xfs
_supported_os Linux
[ -x /usr/bin/chacl ] || _notrun "chacl executable not found"
_need_to_be_root
_acl_requirements
_require_acls
_require_scratch
# set up fs for 1K inodes
+1 -1
View File
@@ -53,7 +53,7 @@ _supported_os Linux
[ ! -d $filler ] && _notrun "No directory to source files from"
_require_scratch
_acl_requirements
_require_acls
echo "*** create filesystem"
+2 -1
View File
@@ -81,7 +81,8 @@ _supported_fs generic
_supported_os IRIX
_acl_setup_ids
_acl_requirements
_require_acls
[ -x $runas ] || _notrun "$runas executable not found"
# get dir
+1 -1
View File
@@ -56,7 +56,7 @@ rm -f $seq.full
_require_scratch
_acl_setup_ids
_acl_requirements
_require_acls
umount $SCRATCH_DEV >/dev/null 2>&1
echo "*** MKFS ***" >>$seq.full
+1 -1
View File
@@ -112,7 +112,7 @@ _filter_aces_notypes()
# test if acl code will work
#
_acl_requirements()
_require_acls()
{
xfsdir=$TEST_DIR