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>

brian m. carlson committed Mar 25, 2018 at 19:20 UTC 06d18bdf86513295e5bf424ae322130678cd8051
1 file changed +1 -1
t/t1304-default-acl.sh
+1 -1
@@ -54,7 +54,7 @@ test_expect_success SETFACL 'Setup test repo' '
54
55 test_expect_success SETFACL 'Objects creation does not break ACLs with restrictive umask' '
56 # SHA1 for empty blob
57 - check_perms_and_acl .git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391
57 + check_perms_and_acl .git/objects/$(echo $EMPTY_BLOB | sed -e "s,^\(..\),\1/,")
58 '
59
60 test_expect_success SETFACL 'git gc does not break ACLs with restrictive umask' '