summaryrefslogtreecommitdiff
path: root/t/t1304-default-acl.sh
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2018-03-25 19:20:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-26 22:10:48 (GMT)
commit06d18bdf86513295e5bf424ae322130678cd8051 (patch)
treea6fa0bc2f50e21dfb1daad846010c02d14b6fa85 /t/t1304-default-acl.sh
parentd47125d4ecb451a666849d97382b5cd0248cba3a (diff)
downloadgit-06d18bdf86513295e5bf424ae322130678cd8051.zip
git-06d18bdf86513295e5bf424ae322130678cd8051.tar.gz
git-06d18bdf86513295e5bf424ae322130678cd8051.tar.bz2
t1304: abstract away SHA-1-specific constants
Adjust the test so that it uses the $EMPTY_BLOB value instead of hard-coding the hash. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1304-default-acl.sh')
-rwxr-xr-xt/t1304-default-acl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1304-default-acl.sh b/t/t1304-default-acl.sh
index f5422f1..335d3f3 100755
--- a/t/t1304-default-acl.sh
+++ b/t/t1304-default-acl.sh
@@ -54,7 +54,7 @@ test_expect_success SETFACL 'Setup test repo' '
test_expect_success SETFACL 'Objects creation does not break ACLs with restrictive umask' '
# SHA1 for empty blob
- check_perms_and_acl .git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391
+ check_perms_and_acl .git/objects/$(echo $EMPTY_BLOB | sed -e "s,^\(..\),\1/,")
'
test_expect_success SETFACL 'git gc does not break ACLs with restrictive umask' '