tests/test-acl
changeset 11140 1f26cf0a3663
parent 11139 f2c6b9819a6d
child 11461 2b83c26b29f3
--- a/tests/test-acl	Mon May 10 21:15:12 2010 +0200
+++ b/tests/test-acl	Mon May 10 21:44:00 2010 +0200
@@ -165,4 +165,12 @@
 echo "@group is allowed inside anything but foo/Bar/"
 do_push fred
 
+echo 'Invalid group'
+# Disable the fakegroups trick to get real failures
+grep -v fakegroups $config > config.tmp
+mv config.tmp $config
+echo '[acl.allow]' >> $config
+echo "** = @unlikelytoexist" >> $config
+do_push fred 2>&1 | grep unlikelytoexist
 
+true