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

index 3a3344a8781ab920cbfff61bc2837abb6719b5aa..334070ec478795f928637989240b8e3fff723950 100755 (executable)
@@ -5,10 +5,10 @@
 # Tests for "username map" smb.conf parameter for UNIX groups
 
 if [ $# -lt 2 ]; then
-cat <<EOF
+       cat <<EOF
 Usage: test_usernamemap.sh SERVER SMBCLIENT
 EOF
-exit 1;
+       exit 1
 fi
 
 SERVER="$1"
@@ -23,6 +23,6 @@ failed=0
 # jackthemapper is mapped to jacknomapper, so we need jacknomapper password
 testit "jackthemapper" "${SMBCLIENT}" //"${SERVER}"/tmp -U"${SERVER}/jackthemapper%nOmApsEcrEt" -c ls || failed=$((failed + 1))
 # jacknomapper is not mapped, so we need jacknomapper password
-testit "jacknomapper"  "${SMBCLIENT}" //"${SERVER}"/tmp -U"${SERVER}/jacknomapper%nOmApsEcrEt"  -c ls || failed=$((failed + 1))
+testit "jacknomapper" "${SMBCLIENT}" //"${SERVER}"/tmp -U"${SERVER}/jacknomapper%nOmApsEcrEt" -c ls || failed=$((failed + 1))
 
 testok "$0" "${failed}"