mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
7f3b7a38e8
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>
20 lines
350 B
Bash
Executable File
20 lines
350 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ $# -lt 1 ]; then
|
|
cat <<EOF
|
|
Usage: test_rpcclient.sh ccache binding <rpcclient commands>
|
|
EOF
|
|
exit 1
|
|
fi
|
|
|
|
KRB5CCNAME=$1
|
|
shift 1
|
|
export KRB5CCNAME
|
|
ADDARGS="$*"
|
|
|
|
incdir=$(dirname $0)/../../../testprogs/blackbox
|
|
. $incdir/subunit.sh
|
|
testit "rpcclient" $VALGRIND $BINDIR/rpcclient $ADDARGS || failed=$(expr $failed + 1)
|
|
|
|
testok $0 $failed
|