s3: Remove a call to procid_self()
[Samba/gebeck_regimport.git] / source3 / script / tests / test_ntlm_auth_diagnostics.sh
blob6e0c3eef42bad1d0da22112ace9be3b6335b9970
1 #!/bin/sh
3 if [ $# -lt 1 ]; then
4 cat <<EOF
5 Usage: test_ntlm_auth_diagnostics.sh NTLM_AUTH DOMAIN USERNAME PASSWORD
6 EOF
7 exit 1;
8 fi
10 NTLM_AUTH=$1
11 DOMAIN=$2
12 USERNAME=$3
13 PASSWORD=$4
14 shift 4
16 ADDARGS="$*"
18 incdir=`dirname $0`/../../../testprogs/blackbox
19 . $incdir/subunit.sh
21 testit "ntlm_auth" $VALGRIND $NTLM_AUTH --domain=$DOMAIN --username=$USERNAME --password=$PASSWORD --diagnostics $ADDARGS || failed=`expr $failed + 1`
23 testok $0 $failed