diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-10-24 14:59:02 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-24 14:59:02 -0700 |
commit | bb8caad3814b49316f842a006082e79b4e46125c (patch) | |
tree | 1ec855ef193da60245a1d680e259d9413ebc888e /t | |
parent | Merge branch 'tb/core-filemode-doc' (diff) | |
parent | t1304: Set LOGNAME even if USER is unset or null (diff) | |
download | tgif-bb8caad3814b49316f842a006082e79b4e46125c.tar.xz |
Merge branch 'wk/t1304-wo-USER'
* wk/t1304-wo-USER:
t1304: Set LOGNAME even if USER is unset or null
Diffstat (limited to 't')
-rwxr-xr-x | t/t1304-default-acl.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1304-default-acl.sh b/t/t1304-default-acl.sh index 79045abb51..f5422f1d33 100755 --- a/t/t1304-default-acl.sh +++ b/t/t1304-default-acl.sh @@ -26,7 +26,7 @@ test_expect_success 'checking for a working acl setup' ' if test -z "$LOGNAME" then - LOGNAME=$USER + LOGNAME="${USER:-$(id -u -n)}" fi check_perms_and_acl () { |