WHATSNEW: Update changes since 3.6.0.
[Samba.git] / source3 / script / tests / test_ntlm_auth_s3.sh
blob4f849825033797d18a9727b1b90aa7eaf479c522
1 #!/bin/sh
3 if [ $# -lt 2 ]; then
4 cat <<EOF
5 Usage: test_ntlm_auth_s3.sh PYTHON SRC3DIR
6 EOF
7 exit 1;
8 fi
10 PYTHON=$1
11 SRC3DIR=$2
12 shift 2
13 ADDARGS="$*"
15 test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
16 incdir=`dirname $0`/../../../testprogs/blackbox
17 . $incdir/subunit.sh
20 failed=0
22 testit "ntlm_auth" $PYTHON $SRC3DIR/torture/test_ntlm_auth.py $BINDIR/ntlm_auth $ADDARGS || failed=`expr $failed + 1`
23 # This should work even with NTLMv2
24 testit "ntlm_auth" $PYTHON $SRC3DIR/torture/test_ntlm_auth.py $BINDIR/ntlm_auth $ADDARGS --client-domain=fOo --server-domain=fOo || failed=`expr $failed + 1`
27 testok $0 $failed