From 622928924fd531bfe415b705c5da7125a5549039 Mon Sep 17 00:00:00 2001 From: Brad Henry Date: Tue, 24 Oct 2006 01:29:02 +0000 Subject: r19473: Add NET tests in their own script. Run the same set of tests that 'make test' does. Comment those tests which don't pass. (This used to be commit 7d382b175b548ae32b4c7c1b728dcd02e20cbbfa) --- source4/script/tests/test_win.sh | 4 +++ source4/script/tests/win/wintest_net.sh | 60 +++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100755 source4/script/tests/win/wintest_net.sh diff --git a/source4/script/tests/test_win.sh b/source4/script/tests/test_win.sh index a6b09d48db..da543a2b50 100755 --- a/source4/script/tests/test_win.sh +++ b/source4/script/tests/test_win.sh @@ -36,6 +36,10 @@ $WINTEST_DIR/wintest_rpc.sh $SMBTORTURE_REMOTE_HOST $SMBTORTURE_USERNAME \ $SMBTORTURE_PASSWORD $SMBTORTURE_WORKGROUP \ || all_errs=`expr $all_errs + $?` +$WINTEST_DIR/wintest_net.sh $SMBTORTURE_REMOTE_HOST $SMBTORTURE_USERNAME \ + $SMBTORTURE_PASSWORD $SMBTORTURE_WORKGROUP \ + || all_errs=`expr $all_errs + $?` + test_name="WINDOWS CLIENT / SAMBA SERVER SHARE" old_errs=$all_errs cat $WINTEST_DIR/common.exp > $TMPDIR/client_test.exp diff --git a/source4/script/tests/win/wintest_net.sh b/source4/script/tests/win/wintest_net.sh new file mode 100755 index 0000000000..d2dbb3bcc0 --- /dev/null +++ b/source4/script/tests/win/wintest_net.sh @@ -0,0 +1,60 @@ +#!/bin/sh + +. script/tests/test_functions.sh + +. script/tests/win/wintest_functions.sh + +# This variable is defined in the per-hosts .fns file. +. $WINTESTCONF + +if [ $# -lt 4 ]; then +cat <