Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'wk/t1304-wo-USER'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 24 Oct 2014 21:59:02 +0000
(14:59 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 24 Oct 2014 21:59:02 +0000
(14:59 -0700)
* wk/t1304-wo-USER:
t1304: Set LOGNAME even if USER is unset or null
t/t1304-default-acl.sh
patch
|
blob
|
history
raw
(from parent 1:
7fc311d
)
diff --git
a/t/t1304-default-acl.sh
b/t/t1304-default-acl.sh
index 79045abb5171691246167a42eec6bf18fbeb0b76..f5422f1d33f5eac98e6f56ec4bf05f3f8d4c8be2 100755
(executable)
--- 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 () {