Test out the new acl text error msgs.
[xfstests-dev.git] / 051
diff --git a/051 b/051
index 82d88095a7ac0cf7b2d205921c1b6822ba097076..106641cababd193dc45de6ef45ad474b0862f232 100755 (executable)
--- a/051
+++ b/051
@@ -322,6 +322,27 @@ $runas -u 12345 -g 54321 -- /bin/chacl -r u::---,g::---,o::--- root
 find root -print | xargs chacl -l
 
 
+#-------------------------------------------------------
+
+echo ""
+echo "=== Test out error messages for ACL text parsing  ==="
+
+touch file1
+set -x
+chacl u file1
+chacl u: file1
+chacl u:rumpledumpleunknownuser file1
+chacl u:rumpledumpleunknownuser: file1
+chacl g:rumpledumpleunknowngrp file1
+chacl g:rumpledumpleunknowngrp: file1
+chacl o:user1:rwx file1
+chacl m:user1:rwx file1
+chacl a::rwx file1
+set +x
+
+
+
+
 #-------------------------------------------------------
 
 # success, all done