Merge branch 'maint'

* maint:
  t1304: fall back to $USER if $LOGNAME is not defined
maint
Junio C Hamano 2011-10-14 12:51:24 -07:00
commit cf8ddeead9
1 changed files with 5 additions and 0 deletions

View File

@ -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 &&