]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:tests: Reformat test_libwbclient_threads.sh
authorAndreas Schneider <asn@samba.org>
Fri, 22 Apr 2022 13:34:09 +0000 (15:34 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 18 May 2022 06:58:35 +0000 (06:58 +0000)
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source3/script/tests/test_libwbclient_threads.sh

index 1f8d041b7afb79a1cf0772ec20112f01a4bb4cce..4f7ac128e0a45c331f4f132f617d1add8ef8d5ba 100755 (executable)
@@ -1,17 +1,17 @@
 #!/bin/sh
 
-if [ $# -lt 2 ] ; then
-cat <<EOF
+if [ $# -lt 2 ]; then
+       cat <<EOF
 Usage: test_libwbclient_threads.sh DOMAIN USERNAME
 EOF
-exit 1;
+       exit 1
 fi
 
 DOMAIN="$1"
 USERNAME="$2"
 shift 2
 
-incdir=`dirname $0`/../../../testprogs/blackbox
+incdir=$(dirname $0)/../../../testprogs/blackbox
 . $incdir/subunit.sh
 
 testit "libwbclient-threads" "$BINDIR/stress-nss-libwbclient" "$DOMAIN/$USERNAME"