mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:tests: Fix passing the configuration to Smbclient_netbios_aliases test
Signed-Off-By: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
a602256269
commit
e1d362c48d
@ -1,8 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
if [ $# -lt 6 ]; then
|
||||
cat <<EOF
|
||||
Usage: test_smbclient.sh smbclient3 SERVER USERNAME PASSWORD PREFIX <smbclient args>
|
||||
Usage: test_smbclient.sh smbclient3 SERVER USERNAME PASSWORD PREFIX CONFIGURATION
|
||||
EOF
|
||||
exit 1;
|
||||
fi
|
||||
@ -12,8 +12,9 @@ SERVER=$2
|
||||
USERNAME=$3
|
||||
PASSWORD=$4
|
||||
PREFIX=$5
|
||||
shift 5
|
||||
ADDARGS="$*"
|
||||
CONFIGURATION=$6
|
||||
shift 6
|
||||
ADDADS="$@"
|
||||
|
||||
samba_bindir="$BINDIR"
|
||||
samba_srcdir="$SRCDIR/source4"
|
||||
|
@ -1176,7 +1176,8 @@ for options in options_list:
|
||||
for alias in ["foo", "bar"]:
|
||||
plantestsuite("samba3.blackbox.smbclient_netbios_aliases [%s]" % alias, "ad_member:local",
|
||||
[os.path.join(samba3srcdir, "script/tests/test_smbclient_netbios_aliases.sh"),
|
||||
smbclient3, alias, "$DC_USERNAME", "$DC_PASSWORD", "$PREFIX", options, configuration])
|
||||
smbclient3, alias, "$DC_USERNAME", "$DC_PASSWORD", "$PREFIX",
|
||||
configuration])
|
||||
|
||||
for e in endianness_options:
|
||||
for a in auth_options:
|
||||
|
Loading…
Reference in New Issue
Block a user