From: Andreas Schneider Date: Fri, 22 Apr 2022 13:34:11 +0000 (+0200) Subject: s3:tests: Reformat test_success.sh X-Git-Tag: tevent-0.13.0~393 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b86936063caa91048932bd19d593b14c5a4f4a12;p=thirdparty%2Fsamba.git s3:tests: Reformat test_success.sh shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- diff --git a/source3/script/tests/test_success.sh b/source3/script/tests/test_success.sh index fe63fb51a9f..7ba8ddbef59 100755 --- a/source3/script/tests/test_success.sh +++ b/source3/script/tests/test_success.sh @@ -4,7 +4,7 @@ # # Copyright (C) 2011 Michael Adam -incdir=`dirname $0`/../../../testprogs/blackbox +incdir=$(dirname $0)/../../../testprogs/blackbox . $incdir/subunit.sh failed=0 @@ -15,8 +15,7 @@ test_success() } testit "success" \ - test_success || \ - failed=`expr $failed + 1` + test_success || + failed=$(expr $failed + 1) testok $0 $failed -