1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-15 16:23:49 +03:00

r9493: 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'
This commit is contained in:
Andrew Tridgell
2005-08-22 23:35:01 +00:00
committed by Gerald (Jerry) Carter
parent 516ba6d20b
commit 20a14b9b35
5 changed files with 8 additions and 1 deletions

View File

@@ -25,3 +25,5 @@ for f in samr.js echo.js ldb.js; do
done
testit "winreg" scripting/bin/winreg $CONFIGURATION ncalrpc: 'HKLM' -U$USERNAME%$PASSWORD || failed=`expr $failed + 1`
testok $0 $failed

View File

@@ -55,3 +55,5 @@ testit "ldb tests" $LDBDIR/tests/test-tdb.sh
SCRIPTDIR=../testprogs/ejs
testit "ejs ldap test" $SCRIPTDIR/ldap.js $SERVER -U$USERNAME%$PASSWORD || failed=`expr $failed + 1`
testok $0 $failed

View File

@@ -21,3 +21,5 @@ export PATH
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

View File

@@ -36,4 +36,4 @@ for t in $tests; do
done
testok $0 $failed
sleep 10000

View File

@@ -35,4 +35,5 @@ transport="ncacn_np"
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