_supported_fs xfs
_supported_os Linux
-[ -x $CHACL_PROG ] || _notrun "chacl executable not found"
+[ -x /usr/bin/chacl ] || _notrun "chacl executable not found"
_need_to_be_root
_acl_requirements
acl21=`_create_n_aces 21`
echo "try 20 aces for access acl"
-$CHACL_PROG $acl20 largeacldir
+chacl $acl20 largeacldir
getfacl largeacldir | _filter_aces
echo "try 20 aces for default acl"
-$CHACL_PROG -d $acl20 largeacldir
+chacl -d $acl20 largeacldir
getfacl largeacldir | _filter_aces
echo "try 21 aces for access acl"
-$CHACL_PROG $acl21 largeacldir
+chacl $acl21 largeacldir
getfacl largeacldir | _filter_aces
echo "try 21 aces for default acl"
-$CHACL_PROG -d $acl21 largeacldir
+chacl -d $acl21 largeacldir
getfacl largeacldir | _filter_aces
# success, all done