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:
parent
1f94e87198
commit
b86936063c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user