source: vendor/current/source3/script/tests/test_ntlm_auth_s3.sh@ 740

Last change on this file since 740 was 740, checked in by Silvan Scherrer, 12 years ago

Samba Server: update vendor to 3.6.0

File size: 633 bytes
Line 
1#!/bin/sh
2
3if [ $# -lt 2 ]; then
4cat <<EOF
5Usage: test_ntlm_auth_s3.sh PYTHON SRC3DIR
6EOF
7exit 1;
8fi
9
10PYTHON=$1
11SRC3DIR=$2
12shift 2
13ADDARGS="$*"
14
15test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
16incdir=`dirname $0`/../../../testprogs/blackbox
17. $incdir/subunit.sh
18}
19
20failed=0
21
22testit "ntlm_auth" $PYTHON $SRC3DIR/torture/test_ntlm_auth.py $BINDIR/ntlm_auth $ADDARGS || failed=`expr $failed + 1`
23# This should work even with NTLMv2
24testit "ntlm_auth" $PYTHON $SRC3DIR/torture/test_ntlm_auth.py $BINDIR/ntlm_auth $ADDARGS --client-domain=fOo --server-domain=fOo || failed=`expr $failed + 1`
25
26
27testok $0 $failed
Note: See TracBrowser for help on using the repository browser.