1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-18 19:17:08 +03:00
samba-mirror/source/script/tests/test_ntlm_auth_s3.sh
Kai Blin d12c49e60f ntlm_auth: Fix another typo in the test.
This _should_ be the last one.
2008-01-30 18:34:24 +01:00

22 lines
584 B
Bash
Executable File

#!/bin/sh
incdir=`dirname $0`
. $incdir/test_functions.sh
failed=0
(/usr/bin/env python --version > /dev/null 2>&1)
if test $? -ne 0;
then
echo "Python binary not found in path. Skipping ntlm_auth tests."
exit 0
fi
testit "ntlm_auth" $VALGRIND $SRCDIR/torture/test_ntlm_auth.py $BINDIR/ntlm_auth --configfile=$CONFFILE || failed=`expr $failed + 1`
# This should work even with NTLMv2
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`
testok $0 $failed