summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-17 20:01:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:54 -0500
commitdb6dcaae16a3471cea1db893b807650a49db9600 (patch)
tree9e0843feeb43818176ec9fadd09d1fbe83e38b24 /source4/script
parent550834c9df68377d1308084814870d45d65472df (diff)
downloadsamba-db6dcaae16a3471cea1db893b807650a49db9600.tar.gz
samba-db6dcaae16a3471cea1db893b807650a49db9600.tar.bz2
samba-db6dcaae16a3471cea1db893b807650a49db9600.zip
r18595: try an experiment of adding a RPC test into the windows testing
framework Brad, I know this is a bit hackish. We really need a "testit" like function like in test_functions.sh (This used to be commit 7120fbffa5560dcaf3d796cb72fa3a6b78a991d6)
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/tests/test_win.sh15
1 files changed, 12 insertions, 3 deletions
diff --git a/source4/script/tests/test_win.sh b/source4/script/tests/test_win.sh
index 4482854125..02d74f8680 100755
--- a/source4/script/tests/test_win.sh
+++ b/source4/script/tests/test_win.sh
@@ -30,13 +30,22 @@ setup_win_server_test()
# Run the smbtorture test.
run_win_server_test()
{
- echo -e "\nRunning smbtorture RAW-QFILEINFO test."
+ winfailed=0
+ echo -e "\nRunning smbtorture tests."
+ echo -e "\nRunning RAW-QFILEINFO"
$SMBTORTURE_BIN_PATH \
-U $SMBTORTURE_USERNAME%$SMBTORTURE_PASSWORD \
-d 10 -W $SMBTORTURE_WORKGROUP \
//$SMBTORTURE_REMOTE_HOST/$SMBTORTURE_REMOTE_SHARE_NAME \
- RAW-QFILEINFO
- err_rtn=$?
+ RAW-QFILEINFO || winfailed=`expr $winfailed + 1`
+
+ echo -e "\nRunning RPC-WINREG"
+ $SMBTORTURE_BIN_PATH \
+ -U $SMBTORTURE_USERNAME%$SMBTORTURE_PASSWORD \
+ -W $SMBTORTURE_WORKGROUP \
+ ncacn_np:$SMBTORTURE_REMOTE_HOST \
+ RPC-WINREG || winfailed=`expr $winfailed + 1`
+ err_rtn=$winfailed
}
# Clean up the windows environment after the test has run or failed.