svn commit: samba r15717 - branches/SAMBA_3_0/source/script/tests trunk/source/script/tests

jerry at samba.org jerry at samba.org
Fri May 19 14:44:51 GMT 2006


Author: jerry
Date: 2006-05-19 14:44:50 +0000 (Fri, 19 May 2006)
New Revision: 15717

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15717

Log:
BUG 3711: patch from    Leonid Kabanov <lkabanov at mail.ru> for some solaris sheel scripting bugs with 'make test'
Modified:
   branches/SAMBA_3_0/source/script/tests/selftest.sh
   trunk/source/script/tests/selftest.sh


Changeset:
Modified: branches/SAMBA_3_0/source/script/tests/selftest.sh
===================================================================
--- branches/SAMBA_3_0/source/script/tests/selftest.sh	2006-05-19 14:32:42 UTC (rev 15716)
+++ branches/SAMBA_3_0/source/script/tests/selftest.sh	2006-05-19 14:44:50 UTC (rev 15717)
@@ -15,7 +15,7 @@
 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 @@
 
 SERVER=localhost2
 SERVER_IP=127.0.0.2
-USERNAME=`whoami`
+USERNAME=`PATH=/usr/ucb:$PATH whoami`
 PASSWORD=test
 
 SRCDIR=`pwd`

Modified: trunk/source/script/tests/selftest.sh
===================================================================
--- trunk/source/script/tests/selftest.sh	2006-05-19 14:32:42 UTC (rev 15716)
+++ trunk/source/script/tests/selftest.sh	2006-05-19 14:44:50 UTC (rev 15717)
@@ -15,7 +15,7 @@
 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 @@
 
 SERVER=localhost2
 SERVER_IP=127.0.0.2
-USERNAME=`whoami`
+USERNAME=`PATH=/usr/ucb:$PATH whoami`
 PASSWORD=test
 
 SRCDIR=`pwd`



More information about the samba-cvs mailing list