1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

s3:tests: Reformat test_smbclient_krb5.sh

shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
Andreas Schneider 2022-04-22 15:34:10 +02:00 committed by Günther Deschner
parent 6513aa1d8d
commit 20e0fef9e4

View File

@ -1,10 +1,10 @@
#!/bin/sh
if [ $# -lt 1 ]; then
cat <<EOF
cat <<EOF
Usage: test_smbclient.sh ccache smbclient3 server <smbclient args>
EOF
exit 1;
exit 1
fi
KRB5CCNAME=$1
@ -14,8 +14,8 @@ SERVER=$3
shift 3
ADDARGS="$*"
incdir=`dirname $0`/../../../testprogs/blackbox
incdir=$(dirname $0)/../../../testprogs/blackbox
. $incdir/subunit.sh
testit "smbclient" $VALGRIND $SMBCLIENT3 //$SERVER/tmp -c 'ls' --use-krb5-ccache=$KRB5CCNAME $ADDARGS || failed=`expr $failed + 1`
testit "smbclient" $VALGRIND $SMBCLIENT3 //$SERVER/tmp -c 'ls' --use-krb5-ccache=$KRB5CCNAME $ADDARGS || failed=$(expr $failed + 1)
testok $0 $failed