Skip to content

Commit

Permalink
s3:tests: Reformat test_success.sh
Browse files Browse the repository at this point in the history
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn

Signed-off-by: Andreas Schneider <[email protected]>
Reviewed-by: Andrew Bartlett <[email protected]>
  • Loading branch information
cryptomilk authored and abartlet committed Jun 17, 2022
1 parent 1f94e87 commit b869360
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions source3/script/tests/test_success.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# Copyright (C) 2011 Michael Adam <[email protected]>

incdir=`dirname $0`/../../../testprogs/blackbox
incdir=$(dirname $0)/../../../testprogs/blackbox
. $incdir/subunit.sh

failed=0
Expand All @@ -15,8 +15,7 @@ test_success()
}

testit "success" \
test_success || \
failed=`expr $failed + 1`
test_success ||
failed=$(expr $failed + 1)

testok $0 $failed

0 comments on commit b869360

Please sign in to comment.