summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-05-19 14:44:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:09 -0500
commitbc77e15c3075bca70c94762c10cf991c4d464a1f (patch)
tree9e08d41cae6c39f3af18530e4c1bddbefdffdb6b /source3
parent679e539655dcf37a719816f9c4e4cddfdf73379d (diff)
downloadsamba-bc77e15c3075bca70c94762c10cf991c4d464a1f.tar.gz
samba-bc77e15c3075bca70c94762c10cf991c4d464a1f.tar.bz2
samba-bc77e15c3075bca70c94762c10cf991c4d464a1f.zip
r15717: BUG 3711: patch from Leonid Kabanov <lkabanov@mail.ru> for some solaris sheel scripting bugs with 'make test'
(This used to be commit 94e0bc50135646039a2ebcf5c922a82cc0c4a2e7)
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/script/tests/selftest.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh
index 3153826709..5e488151fd 100755
--- a/source3/script/tests/selftest.sh
+++ b/source3/script/tests/selftest.sh
@@ -15,7 +15,7 @@ PREFIX=`echo $1 | sed s+//+/+`
mkdir -p $PREFIX || exit $?
OLD_PWD=`pwd`
cd $PREFIX || exit $?
-export PREFIX_ABS=`pwd`
+PREFIX_ABS=`pwd`
cd $OLD_PWD
if [ -z "$TORTURE_MAXTIME" ]; then
@@ -29,7 +29,7 @@ export TORTURE_MAXTIME
SERVER=localhost2
SERVER_IP=127.0.0.2
-USERNAME=`whoami`
+USERNAME=`PATH=/usr/ucb:$PATH whoami`
PASSWORD=test
SRCDIR=`pwd`