s3-selftest unconditionaly include subunit.sh
[kai/samba.git] / source3 / script / tests / test_ntlm_auth_s3.sh
1 #!/bin/sh
2
3 if [ $# -lt 2 ]; then
4 cat <<EOF
5 Usage: test_ntlm_auth_s3.sh PYTHON SRC3DIR
6 EOF
7 exit 1;
8 fi
9
10 PYTHON=$1
11 SRC3DIR=$2
12 shift 2
13 ADDARGS="$*"
14
15 incdir=`dirname $0`/../../../testprogs/blackbox
16 . $incdir/subunit.sh
17
18 failed=0
19
20 testit "ntlm_auth" $PYTHON $SRC3DIR/torture/test_ntlm_auth.py $BINDIR/ntlm_auth $ADDARGS || failed=`expr $failed + 1`
21 # This should work even with NTLMv2
22 testit "ntlm_auth" $PYTHON $SRC3DIR/torture/test_ntlm_auth.py $BINDIR/ntlm_auth $ADDARGS --client-domain=fOo --server-domain=fOo || failed=`expr $failed + 1`
23
24
25 testok $0 $failed