git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6202a9d
)
r8539: $LOGNAME is a common varient of $USER on some systems
author
Andrew Tridgell
<tridge@samba.org>
Mon, 18 Jul 2005 08:30:32 +0000
(08:30 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:29:36 +0000
(13:29 -0500)
source/script/tests/selftest.sh
patch
|
blob
|
history
diff --git
a/source/script/tests/selftest.sh
b/source/script/tests/selftest.sh
index b947256738089605836181e79c770ce09974630b..6579623e2c3ef5258263e920a11cf6bd2fefd3c4 100755
(executable)
--- a/
source/script/tests/selftest.sh
+++ b/
source/script/tests/selftest.sh
@@
-5,6
+5,9
@@
REALM=$DOMAIN
PASSWORD=penguin
SRCDIR=`pwd`
ROOT=$USER
+if test -z "$ROOT"; then
+ ROOT=$LOGNAME
+fi
if test -z "$ROOT"; then
ROOT=`whoami`
fi