]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:tests: Reformat test_smbclient_machine_auth.sh
authorAndreas Schneider <asn@samba.org>
Fri, 22 Apr 2022 13:34:11 +0000 (15:34 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 10 Jun 2022 13:53:37 +0000 (13:53 +0000)
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_smbclient_machine_auth.sh

index 8a2cc55172862244e77d1bb39b8a72e3be1b484d..abb687c8243e4c3251ba3af1a0caf6b24d7111e7 100755 (executable)
@@ -3,10 +3,10 @@
 # this runs the file serving tests that are expected to pass with samba3 against shares with various options
 
 if [ $# -lt 2 ]; then
-cat <<EOF
+       cat <<EOF
 Usage: test_smbclient_machine_auth.sh SERVER SMBCLIENT <smbclient arguments>
 EOF
-exit 1;
+       exit 1
 fi
 
 SERVER="$1"
@@ -15,7 +15,7 @@ SMBCLIENT="$VALGRIND ${SMBCLIENT}"
 shift 2
 ADDARGS="$*"
 
-incdir=`dirname $0`/../../../testprogs/blackbox
+incdir=$(dirname $0)/../../../testprogs/blackbox
 . $incdir/subunit.sh
 
 testit "smbclient //$SERVER/tmp" $SMBCLIENT //$SERVER/tmp --machine-pass -p 139 -c quit $ADDARGS