librpc: Shorten dcerpc_binding_handle_call a bit
[Samba/gebeck_regimport.git] / source3 / script / tests / test_smbclient_krb5.sh
blob02117dc33500ece667732336b72c5fbe82581757
1 #!/bin/sh
3 if [ $# -lt 1 ]; then
4 cat <<EOF
5 Usage: test_smbclient.sh ccache smbclient3 server <smbclient args>
6 EOF
7 exit 1;
8 fi
10 KRB5CCNAME=$1
11 export KRB5CCNAME
12 SMBCLIENT3=$2
13 SERVER=$3
14 shift 3
15 ADDARGS="$*"
17 incdir=`dirname $0`/../../../testprogs/blackbox
18 . $incdir/subunit.sh
19 testit "smbclient" $VALGRIND $SMBCLIENT3 //$SERVER/tmp -c 'ls' -k $ADDARGS || failed=`expr $failed + 1`
21 testok $0 $failed