svn commit: samba r9493 - in branches/SAMBA_4_0/source/script/tests: .

tridge at samba.org tridge at samba.org
Mon Aug 22 23:35:02 GMT 2005


Author: tridge
Date: 2005-08-22 23:35:01 +0000 (Mon, 22 Aug 2005)
New Revision: 9493

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

Log:

our test scripts need to use testok at the end or the errors don't annumulate between scripts

this is why the GetOptions bug wasn't caught by 'make test'

Modified:
   branches/SAMBA_4_0/source/script/tests/test_ejs.sh
   branches/SAMBA_4_0/source/script/tests/test_ldap.sh
   branches/SAMBA_4_0/source/script/tests/test_nbt.sh
   branches/SAMBA_4_0/source/script/tests/test_quick.sh
   branches/SAMBA_4_0/source/script/tests/test_session_key.sh


Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_ejs.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_ejs.sh	2005-08-22 23:33:47 UTC (rev 9492)
+++ branches/SAMBA_4_0/source/script/tests/test_ejs.sh	2005-08-22 23:35:01 UTC (rev 9493)
@@ -25,3 +25,5 @@
 done
 
 testit "winreg" scripting/bin/winreg $CONFIGURATION ncalrpc: 'HKLM' -U$USERNAME%$PASSWORD || failed=`expr $failed + 1`
+
+testok $0 $failed

Modified: branches/SAMBA_4_0/source/script/tests/test_ldap.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_ldap.sh	2005-08-22 23:33:47 UTC (rev 9492)
+++ branches/SAMBA_4_0/source/script/tests/test_ldap.sh	2005-08-22 23:35:01 UTC (rev 9493)
@@ -55,3 +55,5 @@
 SCRIPTDIR=../testprogs/ejs
 
 testit "ejs ldap test" $SCRIPTDIR/ldap.js $SERVER -U$USERNAME%$PASSWORD || failed=`expr $failed + 1`
+
+testok $0 $failed

Modified: branches/SAMBA_4_0/source/script/tests/test_nbt.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_nbt.sh	2005-08-22 23:33:47 UTC (rev 9492)
+++ branches/SAMBA_4_0/source/script/tests/test_nbt.sh	2005-08-22 23:35:01 UTC (rev 9493)
@@ -21,3 +21,5 @@
 for f in NBT-REGISTER NBT-WINS; do
     testit "$f" bin/smbtorture $TORTURE_OPTIONS //$SERVER/_none_ $f || failed=`expr $failed + 1`
 done
+
+testok $0 $failed

Modified: branches/SAMBA_4_0/source/script/tests/test_quick.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_quick.sh	2005-08-22 23:33:47 UTC (rev 9492)
+++ branches/SAMBA_4_0/source/script/tests/test_quick.sh	2005-08-22 23:35:01 UTC (rev 9493)
@@ -36,4 +36,4 @@
 done
 
 testok $0 $failed
-sleep 10000
+

Modified: branches/SAMBA_4_0/source/script/tests/test_session_key.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_session_key.sh	2005-08-22 23:33:47 UTC (rev 9492)
+++ branches/SAMBA_4_0/source/script/tests/test_session_key.sh	2005-08-22 23:35:01 UTC (rev 9493)
@@ -35,4 +35,5 @@
    name="RPC-SECRETS on $transport with $ntlmoptions"
    testit "$name" bin/smbtorture $TORTURE_OPTIONS $transport:"$server[$bindoptions]" $ntlmoptions -U"$username"%"$password" -W $domain RPC-SECRETS "$*" || failed=`expr $failed + 1`
   done
+
 testok $0 $failed



More information about the samba-cvs mailing list