1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:tests: Reformat test_success.sh

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider 2022-04-22 15:34:11 +02:00 committed by Andrew Bartlett
parent 1f94e87198
commit b86936063c

View File

@ -4,7 +4,7 @@
#
# Copyright (C) 2011 Michael Adam <obnox@samba.org>
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