Skip to content

Commit 06d18bd

Browse files
bk2204gitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d47125d commit 06d18bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t1304-default-acl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ test_expect_success SETFACL 'Setup test repo' '
5454

5555
test_expect_success SETFACL 'Objects creation does not break ACLs with restrictive umask' '
5656
# 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/,")
5858
'
5959

6060
test_expect_success SETFACL 'git gc does not break ACLs with restrictive umask' '

0 commit comments

Comments
 (0)