• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/script/tests/
1#!/bin/sh
2
3test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
4incdir=`dirname $0`
5. $incdir/test_functions.sh
6}
7
8failed=0
9
10(/usr/bin/env python --version > /dev/null 2>&1)
11
12if test $? -ne 0;
13then
14	echo "Python binary not found in path. Skipping ntlm_auth tests."
15	exit 0
16fi
17
18testit "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
20testit "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
22
23testok $0 $failed
24