Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t1301-shared-repo.sh: don't let a default ACL interfere with the test
[gitweb.git]
/
t
/
t1301-shared-repo.sh
diff --git
a/t/t1301-shared-repo.sh
b/t/t1301-shared-repo.sh
index dc85e8b60a5c10e57047d1692e383f177e2c478d..2275caa317c8b7237c6f118251dc2d34cf10e218 100755
(executable)
--- a/
t/t1301-shared-repo.sh
+++ b/
t/t1301-shared-repo.sh
@@
-7,6
+7,9
@@
test_description='Test shared repository initialization'
. ./test-lib.sh
+# Remove a default ACL from the test dir if possible.
+setfacl -k . 2>/dev/null
+
# User must have read permissions to the repo -> failure on --shared=0400
test_expect_success 'shared = 0400 (faulty permission u-w)' '
mkdir sub && (