]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
testprogs: Reformat test_net_rpc_user.sh
authorAndreas Schneider <asn@samba.org>
Fri, 22 Apr 2022 13:46:05 +0000 (15:46 +0200)
committerPavel Filipensky <pfilipensky@samba.org>
Wed, 10 Aug 2022 09:22:30 +0000 (09:22 +0000)
shfmt -w -p -i 0 -fn testprogs/blackbox/test_net_rpc_user.sh

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
testprogs/blackbox/test_net_rpc_user.sh

index 64ab01b8f0c02375423c4df15c7debb89bf46c26..b4688a8443d55863539d8e6952e4faac791a12e4 100755 (executable)
@@ -4,10 +4,10 @@
 # Copyright (c) 2017      Andreas Schneider <asn@samba.org>
 
 if [ $# -lt 4 ]; then
-cat << EOF
+       cat <<EOF
 Usage: net_rpc.sh SERVER ADMIN_ACCOUNT ADMIN_PASSWORD ADMIN_DOMAIN
 EOF
-exit 1
+       exit 1
 fi
 
 SERVER=$1
@@ -27,8 +27,8 @@ TEST_PASSWORD="Passw0rd~01"
 
 newuser="$samba_tool user create"
 
-. `dirname $0`/subunit.sh
-. `dirname $0`/common_test_fns.inc
+. $(dirname $0)/subunit.sh
+. $(dirname $0)/common_test_fns.inc
 
 ###########################################################
 ### Setup