2 # Blackbox tests for testing against windows machines
3 # Copyright (C) 2008 Jim McDonough
7 # define test variables, startup/shutdown scripts
11 if [ -n "$WINTEST_STARTUP" ]; then
15 testit
"smbtorture" $smbtorture //$SERVER/$SHARE RAW-OPEN
-W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@ || failed
=`expr $failed + 1`
17 if [ -n "$WINTEST_SHUTDOWN" ]; then
24 # skip without WINTEST_CONF_DIR
25 if [ -z "$WINTEST_CONF_DIR" ]; then
29 unset SOCKET_WRAPPER_DIR
35 samba4bindir
=`dirname $0`/..
/..
/source4/bin
36 smbtorture
=$samba4bindir/smbtorture
38 .
`dirname $0`/subunit.sh
40 for wintest_conf
in $WINTEST_CONF_DIR/*.conf
; do
41 testwithconf
"$wintest_conf" $@
;