summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-18 08:30:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:36 -0500
commitf293c2d16390deb9f001b7b8c6242ec0e969b879 (patch)
tree2c601f6bb40e7f85527b53ea1a4db66a742c2d2d /source4/script
parent8e824d4d04e2cc231f00e981d98be2fd2a86fdb7 (diff)
downloadsamba-f293c2d16390deb9f001b7b8c6242ec0e969b879.tar.gz
samba-f293c2d16390deb9f001b7b8c6242ec0e969b879.tar.bz2
samba-f293c2d16390deb9f001b7b8c6242ec0e969b879.zip
r8539: $LOGNAME is a common varient of $USER on some systems
(This used to be commit e571d6a36bdf61aaab383e05c857347838de4c1d)
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/tests/selftest.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh
index b947256738..6579623e2c 100755
--- a/source4/script/tests/selftest.sh
+++ b/source4/script/tests/selftest.sh
@@ -6,6 +6,9 @@ PASSWORD=penguin
SRCDIR=`pwd`
ROOT=$USER
if test -z "$ROOT"; then
+ ROOT=$LOGNAME
+fi
+if test -z "$ROOT"; then
ROOT=`whoami`
fi