diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-10-14 12:51:24 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-14 12:51:24 -0700 |
commit | cf8ddeead9d0f5b13b268633ead6837803cd40de (patch) | |
tree | 74c2d208b1218410ff8e944a22eb0f807e0c38f0 | |
parent | c9e7aa4f689e08510e3c68e85687ed4f6778c870 (diff) | |
parent | ac2604cf5fb9fcf538289a470ecbe345f7f0c220 (diff) | |
download | git-cf8ddeead9d0f5b13b268633ead6837803cd40de.tar.gz |
Merge branch 'maint'
* maint:
t1304: fall back to $USER if $LOGNAME is not defined
-rwxr-xr-x | t/t1304-default-acl.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t1304-default-acl.sh b/t/t1304-default-acl.sh index b5d89a2250..2b962cfda7 100755 --- a/t/t1304-default-acl.sh +++ b/t/t1304-default-acl.sh @@ -25,6 +25,11 @@ else test_set_prereq SETFACL fi +if test -z "$LOGNAME" +then + LOGNAME=$USER +fi + check_perms_and_acl () { test -r "$1" && getfacl "$1" > actual && |