Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified vendor/current/source3/script/tests/test_ntlm_auth_s3.sh

    r414 r740  
    11#!/bin/sh
    22
     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
    315test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
    4 incdir=`dirname $0`
    5 . $incdir/test_functions.sh
     16incdir=`dirname $0`/../../../testprogs/blackbox
     17. $incdir/subunit.sh
    618}
    719
    820failed=0
    921
    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`
     22testit "ntlm_auth" $PYTHON $SRC3DIR/torture/test_ntlm_auth.py $BINDIR/ntlm_auth $ADDARGS || failed=`expr $failed + 1`
    1923# 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`
     24testit "ntlm_auth" $PYTHON $SRC3DIR/torture/test_ntlm_auth.py $BINDIR/ntlm_auth $ADDARGS --client-domain=fOo --server-domain=fOo || failed=`expr $failed + 1`
    2125
    2226
Note: See TracChangeset for help on using the changeset viewer.