s3:tests: Reformat test_wbinfo_sids2xids.sh
authorAndreas Schneider <asn@samba.org>
Fri, 22 Apr 2022 13:34:12 +0000 (15:34 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 22 Jun 2022 09:11:43 +0000 (11:11 +0200)
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/script/tests/test_wbinfo_sids2xids.sh

index c50060531d5302597c9d0ff18099739fa35da32c..b07aebfe36f80ce778d50f3235c5bf1ddc74a1a8 100755 (executable)
@@ -2,11 +2,11 @@
 
 WBINFO="$VALGRIND ${WBINFO:-$BINDIR/wbinfo} $CONFIGURATION"
 NET="$VALGRIND ${NET:-$BINDIR/net} $CONFIGURATION"
-TEST_INT=`dirname $0`/test_wbinfo_sids2xids_int.py
+TEST_INT=$(dirname $0)/test_wbinfo_sids2xids_int.py
 
-incdir=`dirname $0`/../../../testprogs/blackbox
+incdir=$(dirname $0)/../../../testprogs/blackbox
 . $incdir/subunit.sh
 
-testit "sids2xids" ${TEST_INT} ${WBINFO} ${NET} || failed=`expr $failed + 1`
+testit "sids2xids" ${TEST_INT} ${WBINFO} ${NET} || failed=$(expr $failed + 1)
 
 testok $0 $failed