projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
703f05a
)
t1304: fall back to $USER if $LOGNAME is not defined
author
René Scharfe
<rene.scharfe@lsrfire.ath.cx>
Fri, 14 Oct 2011 17:44:45 +0000
(19:44 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 14 Oct 2011 18:41:28 +0000
(11:41 -0700)
For some reason $LOGNAME is not set anymore for me after an upgrade from
Ubuntu 11.04 to 11.10. Use $USER in such a case.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1304-default-acl.sh
patch
|
blob
|
history
diff --git
a/t/t1304-default-acl.sh
b/t/t1304-default-acl.sh
index b5d89a2250e41afe544b0d0f59f638e02d570cdd..2b962cfda70d998e9c2799cf8fc720b330cd118a 100755
(executable)
--- 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 &&