s3:tests: include subunit.sh instead of test_functions.sh in test_ntlm_auth_s3.sh
[Samba.git] / source3 / script / tests / test_ntlm_auth_s3.sh
blob17aabef98efac0c259844aab7446cdd85a3e9b36
1 #!/bin/sh
3 test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
4 incdir=`dirname $0`/../../../testprogs/blackbox
5 . $incdir/subunit.sh
8 failed=0
10 (/usr/bin/env python --version > /dev/null 2>&1)
12 if test $? -ne 0;
13 then
14 echo "Python binary not found in path. Skipping ntlm_auth tests."
15 exit 0
18 testit "ntlm_auth" $VALGRIND $SRCDIR/torture/test_ntlm_auth.py $BINDIR/ntlm_auth --configfile=$CONFFILE || failed=`expr $failed + 1`
19 # This should work even with NTLMv2
20 testit "ntlm_auth" $VALGRIND $SRCDIR/torture/test_ntlm_auth.py $BINDIR/ntlm_auth --configfile=$CONFFILE --client-domain=fOo --server-domain=fOo || failed=`expr $failed + 1`
23 testok $0 $failed