Changeset 740 for vendor/current/source3/script/tests/test_ntlm_auth_s3.sh
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified vendor/current/source3/script/tests/test_ntlm_auth_s3.sh ¶
r414 r740 1 1 #!/bin/sh 2 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 3 15 test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && { 4 incdir=`dirname $0` 5 . $incdir/ test_functions.sh16 incdir=`dirname $0`/../../../testprogs/blackbox 17 . $incdir/subunit.sh 6 18 } 7 19 8 20 failed=0 9 21 10 (/usr/bin/env python --version > /dev/null 2>&1) 11 12 if test $? -ne 0; 13 then 14 echo "Python binary not found in path. Skipping ntlm_auth tests." 15 exit 0 16 fi 17 18 testit "ntlm_auth" $VALGRIND $SRCDIR/torture/test_ntlm_auth.py $BINDIR/ntlm_auth --configfile=$CONFFILE || failed=`expr $failed + 1` 22 testit "ntlm_auth" $PYTHON $SRC3DIR/torture/test_ntlm_auth.py $BINDIR/ntlm_auth $ADDARGS || failed=`expr $failed + 1` 19 23 # This should work even with NTLMv2 20 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`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` 21 25 22 26
Note:
See TracChangeset
for help on using the changeset viewer.