# regression test for dfs access with wide links enabled on dfs share
-if [ $# -lt 5 ]; then
+if [ $# -lt 6 ]; then
cat <<EOF
Usage: test_bug15435_widelink_dfs.sh SERVER SERVER_IP USERNAME PASSWORD SMBCLIENT CONFIGURATION <smbclient arguments>
EOF
# command disk free printout.
#
-if [ $# -lt 6 ]; then
+if [ $# -lt 7 ]; then
cat <<EOF
Usage: test_dfree_command.sh SERVER DOMAIN USERNAME PASSWORD PREFIX SMBCLIENT
EOF
# Blackbox test for disk-free, quota, and their interaction
#
-if [ $# -lt 6 ]; then
+if [ $# -lt 9 ]; then
cat <<EOF
Usage: test_dfree_quota.sh SERVER DOMAIN USERNAME PASSWORD LOCAL_PATH SMBCLIENT SMBCQUOTAS SMBCACLS
EOF
#
# Copyright (C) 2017 Christof Schmitt
-if [ $# -lt 7 ]; then
+if [ $# -lt 8 ]; then
cat <<EOF
Usage: $0 SMBCLIENT SERVER SHARE USER PASS CONFIGURATION LOCALPATH LOCKDIR
EOF
#!/bin/sh
-if [ $# -lt 4 ]; then
+if [ $# -lt 5 ]; then
cat <<EOF
Usage: test_printing_var_exp.sh SERVER SERVER_IP DOMAIN USERNAME PASSWORD
EOF
#!/bin/sh
-if [ $# -lt 3 ]; then
+if [ $# -lt 4 ]; then
cat <<EOF
Usage: test_smb1_lanman_plaintext.sh SERVER USERNAME PASSWORD
EOF
# this runs the file serving tests that are expected to pass with samba3 against shares with various options
-if [ $# -lt 5 ]; then
+if [ $# -lt 6 ]; then
cat <<EOF
Usage: test_smbclient_basic.sh SERVER SERVER_IP DOMAIN USERNAME PASSWORD SMBCLIENT <smbclient arguments>
EOF
#!/bin/sh
-if [ $# -lt 1 ]; then
+if [ $# -lt 3 ]; then
cat <<EOF
Usage: test_smbclient_krb5.sh ccache smbclient3 server <smbclient args>
EOF
#!/bin/sh
-if [ $# -lt 1 ]; then
+if [ $# -lt 4 ]; then
cat <<EOF
Usage: test_smbclient_large_file.sh ccache smbclient3 server prefix <smbclient args>
EOF
# this test checks whether smbclient can log into -l log-basename
-if [ $# -lt 2 ]; then
+if [ $# -lt 3 ]; then
cat <<EOF
Usage: test_smbclient_log_basename.sh SERVER SMBCLIENT PREFIX <smbclient arguments>
EOF
# this runs the file serving tests that are expected to pass with samba3 against shares with various options
-if [ $# -lt 2 ]; then
+if [ $# -lt 3 ]; then
cat <<EOF
Usage: test_smbclient_machine_auth.sh SERVER SMBCLIENT CONFIGURATION <smbclient arguments>
EOF
# this runs a smbclient based authentication tests
-if [ $# -lt 6 ]; then
+if [ $# -lt 7 ]; then
cat <<EOF
Usage: test_smbclient_ntlm.sh SERVER USERNAME PASSWORD MAPTOGUEST SMBCLIENT PROTOCOL CONFIGURATION <smbclient arguments>
EOF
#!/bin/sh
-if [ $# -lt 1 ]; then
+if [ $# -lt 5 ]; then
cat <<EOF
Usage: test_smbd_no_krb5.sh SERVER USERNAME PASSWORD PREFIX
EOF
# Blackbox test for smbget.
#
-if [ $# -lt 8 ]; then
+if [ $# -lt 10 ]; then
cat <<EOF
Usage: test_smbget SERVER SERVER_IP DOMAIN REALM USERNAME PASSWORD WORKDIR SMBGET
EOF
#!/bin/sh
-if [ $# -lt 4 ]; then
+if [ $# -lt 5 ]; then
cat <<EOF
Usage: test_smbspool.sh SERVER SERVER_IP USERNAME PASSWORD TARGET_ENV
EOF
#!/bin/sh
-if [ $# -lt 1 ]; then
+if [ $# -lt 2 ]; then
cat <<EOF
Usage: test_update_keytab.sh DOMAIN CONFIGURATION
EOF
#!/bin/sh
-if [ $# -lt 1 ]; then
+if [ $# -lt 2 ]; then
cat <<EOF
-Usage: test_update_keytab.sh DOMAIN CONFIGURATION
+Usage: test_update_keytab_clustered.sh DOMAIN CONFIGURATION
EOF
exit 1
fi