From bc77e15c3075bca70c94762c10cf991c4d464a1f Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 19 May 2006 14:44:50 +0000 Subject: [PATCH] r15717: BUG 3711: patch from Leonid Kabanov for some solaris sheel scripting bugs with 'make test' (This used to be commit 94e0bc50135646039a2ebcf5c922a82cc0c4a2e7) --- source3/script/tests/selftest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh index 31538267097..5e488151fd6 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`