From: Andreas Schneider Date: Fri, 22 Apr 2022 13:34:10 +0000 (+0200) Subject: s3:tests: Reformat test_rpcclient.sh X-Git-Tag: talloc-2.3.4~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f3b7a38e80ce3f03c7caa728e0880fe080b9647;p=thirdparty%2Fsamba.git s3:tests: Reformat test_rpcclient.sh shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider Reviewed-by: Guenther Deschner --- diff --git a/source3/script/tests/test_rpcclient.sh b/source3/script/tests/test_rpcclient.sh index c504f17187c..4260963da9e 100755 --- a/source3/script/tests/test_rpcclient.sh +++ b/source3/script/tests/test_rpcclient.sh @@ -1,10 +1,10 @@ #!/bin/sh if [ $# -lt 1 ]; then -cat < EOF -exit 1; + exit 1 fi KRB5CCNAME=$1 @@ -12,8 +12,8 @@ shift 1 export KRB5CCNAME ADDARGS="$*" -incdir=`dirname $0`/../../../testprogs/blackbox +incdir=$(dirname $0)/../../../testprogs/blackbox . $incdir/subunit.sh -testit "rpcclient" $VALGRIND $BINDIR/rpcclient $ADDARGS || failed=`expr $failed + 1` +testit "rpcclient" $VALGRIND $BINDIR/rpcclient $ADDARGS || failed=$(expr $failed + 1) testok $0 $failed