ntlm_auth: test should honour configfile option to run on build farm.
[Samba.git] / source / script / tests / test_ntlm_auth_s3.sh
blob6bcb3e2066a2a5cdfbf6475dfa13f19ba8460eaf
1 #!/bin/sh
3 incdir=`dirname $0`
4 . $incdir/test_functions.sh
6 failed=0
8 (/usr/bin/env python --version > /dev/null 2>&1)
10 if test $? -ne 0;
11 then
12 echo "Python binary not found in path. Skipping ntlm_auth tests."
13 exit 0
16 testit "ntlm_auth" $VALGRIND $SRCDIR/torture/test_ntlm_auth.py $BINDIR/ntlm_auth --configfile $CONFFILE || failed=`expr $failed + 1`
17 # This should work even with NTLMv2
18 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`
21 testok $0 $failed