Delete the notrun call.
authorTim Shimmin <tes@sgi.com>
Wed, 22 May 2002 02:21:06 +0000 (02:21 +0000)
committerTim Shimmin <tes@sgi.com>
Wed, 22 May 2002 02:21:06 +0000 (02:21 +0000)
067 no longer panics for me.

067
067.out [new file with mode: 0644]
common.attr

diff --git a/067 b/067
index e377b78ce69460c98f0d5c2db3b7a8101c2d32c1..ec7fe3aa7be6f6e1bf79213b394b28bd29f13a1a 100755 (executable)
--- a/067
+++ b/067
@@ -1,6 +1,6 @@
 #! /bin/sh
 # XFS QA Test No. 067
-# $Id: 067,v 1.1 2002/05/09 05:26:20 tes Exp $
+# $Id: 067,v 1.2 2002/05/22 02:21:06 tes Exp $
 #
 # Test out acl/dacls which fit in shortform in the inode
 #
@@ -54,7 +54,6 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 
-_notrun "Causes panic - need to investigate"
 
 _need_to_be_root
 _acl_requirements
diff --git a/067.out b/067.out
new file mode 100644 (file)
index 0000000..d746be8
--- /dev/null
+++ b/067.out
@@ -0,0 +1,166 @@
+QA output created by 067
+
+=== Test out large ACLs  ===
+try 20 aces for access acl
+# file: largeacldir
+# owner: root
+# group: root
+user::rwx
+user:1:rwx
+user:2:rwx
+user:3:rwx
+user:4:rwx
+user:5:rwx
+user:6:rwx
+user:7:rwx
+user:8:rwx
+user:9:rwx
+user:10:rwx
+user:11:rwx
+user:12:rwx
+user:13:rwx
+user:14:rwx
+user:15:rwx
+user:16:rwx
+group::rwx
+mask::rwx
+other::rwx
+
+try 20 aces for default acl
+# file: largeacldir
+# owner: root
+# group: root
+user::rwx
+user:1:rwx
+user:2:rwx
+user:3:rwx
+user:4:rwx
+user:5:rwx
+user:6:rwx
+user:7:rwx
+user:8:rwx
+user:9:rwx
+user:10:rwx
+user:11:rwx
+user:12:rwx
+user:13:rwx
+user:14:rwx
+user:15:rwx
+user:16:rwx
+group::rwx
+mask::rwx
+other::rwx
+default:user::rwx
+default:user:1:rwx
+default:user:2:rwx
+default:user:3:rwx
+default:user:4:rwx
+default:user:5:rwx
+default:user:6:rwx
+default:user:7:rwx
+default:user:8:rwx
+default:user:9:rwx
+default:user:10:rwx
+default:user:11:rwx
+default:user:12:rwx
+default:user:13:rwx
+default:user:14:rwx
+default:user:15:rwx
+default:user:16:rwx
+default:group::rwx
+default:mask::rwx
+default:other::rwx
+
+try 21 aces for access acl
+# file: largeacldir
+# owner: root
+# group: root
+user::rwx
+user:1:rwx
+user:2:rwx
+user:3:rwx
+user:4:rwx
+user:5:rwx
+user:6:rwx
+user:7:rwx
+user:8:rwx
+user:9:rwx
+user:10:rwx
+user:11:rwx
+user:12:rwx
+user:13:rwx
+user:14:rwx
+user:15:rwx
+user:16:rwx
+user:17:rwx
+group::rwx
+mask::rwx
+other::rwx
+default:user::rwx
+default:user:1:rwx
+default:user:2:rwx
+default:user:3:rwx
+default:user:4:rwx
+default:user:5:rwx
+default:user:6:rwx
+default:user:7:rwx
+default:user:8:rwx
+default:user:9:rwx
+default:user:10:rwx
+default:user:11:rwx
+default:user:12:rwx
+default:user:13:rwx
+default:user:14:rwx
+default:user:15:rwx
+default:user:16:rwx
+default:group::rwx
+default:mask::rwx
+default:other::rwx
+
+try 21 aces for default acl
+# file: largeacldir
+# owner: root
+# group: root
+user::rwx
+user:1:rwx
+user:2:rwx
+user:3:rwx
+user:4:rwx
+user:5:rwx
+user:6:rwx
+user:7:rwx
+user:8:rwx
+user:9:rwx
+user:10:rwx
+user:11:rwx
+user:12:rwx
+user:13:rwx
+user:14:rwx
+user:15:rwx
+user:16:rwx
+user:17:rwx
+group::rwx
+mask::rwx
+other::rwx
+default:user::rwx
+default:user:1:rwx
+default:user:2:rwx
+default:user:3:rwx
+default:user:4:rwx
+default:user:5:rwx
+default:user:6:rwx
+default:user:7:rwx
+default:user:8:rwx
+default:user:9:rwx
+default:user:10:rwx
+default:user:11:rwx
+default:user:12:rwx
+default:user:13:rwx
+default:user:14:rwx
+default:user:15:rwx
+default:user:16:rwx
+default:user:17:rwx
+default:group::rwx
+default:mask::rwx
+default:other::rwx
+
index 767b30a4a90ad5642792341c36841aece26bf5c8..7bf12febc5d7016ade3e6c688022eb658ec1ebaf 100644 (file)
@@ -98,7 +98,8 @@ _filter_aces()
                idlist[$1] = $3 
            }
        }
-       /^user/ { if ($2 in idlist) sub($2, idlist[$2])}
+       /^user/ { if ($2 in idlist) sub($2, idlist[$2]); print; next}
+       /^default:user/ { if ($3 in idlist) sub($3, idlist[$3]); print; next}
        {print}
     '
 }