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