Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  t1304: fall back to $USER if $LOGNAME is not defined
  • Loading branch information
Junio C Hamano committed Oct 14, 2011
2 parents c9e7aa4 + ac2604c commit cf8ddee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/t1304-default-acl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit cf8ddee

Please sign in to comment.