mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +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
|
#!/bin/sh
|
||||||
|
|
||||||
if [ $# -lt 1 ]; then
|
if [ $# -lt 6 ]; then
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
Usage: test_smbclient.sh smbclient3 SERVER USERNAME PASSWORD PREFIX <smbclient args>
|
Usage: test_smbclient.sh smbclient3 SERVER USERNAME PASSWORD PREFIX CONFIGURATION
|
||||||
EOF
|
EOF
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
@ -12,8 +12,9 @@ SERVER=$2
|
|||||||
USERNAME=$3
|
USERNAME=$3
|
||||||
PASSWORD=$4
|
PASSWORD=$4
|
||||||
PREFIX=$5
|
PREFIX=$5
|
||||||
shift 5
|
CONFIGURATION=$6
|
||||||
ADDARGS="$*"
|
shift 6
|
||||||
|
ADDADS="$@"
|
||||||
|
|
||||||
samba_bindir="$BINDIR"
|
samba_bindir="$BINDIR"
|
||||||
samba_srcdir="$SRCDIR/source4"
|
samba_srcdir="$SRCDIR/source4"
|
||||||
|
@ -1176,7 +1176,8 @@ for options in options_list:
|
|||||||
for alias in ["foo", "bar"]:
|
for alias in ["foo", "bar"]:
|
||||||
plantestsuite("samba3.blackbox.smbclient_netbios_aliases [%s]" % alias, "ad_member:local",
|
plantestsuite("samba3.blackbox.smbclient_netbios_aliases [%s]" % alias, "ad_member:local",
|
||||||
[os.path.join(samba3srcdir, "script/tests/test_smbclient_netbios_aliases.sh"),
|
[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 e in endianness_options:
|
||||||
for a in auth_options:
|
for a in auth_options:
|
||||||
|
Loading…
Reference in New Issue
Block a user