summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-29 09:10:40 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-29 09:10:40 +1000
commit3a303ae5ab2bfef58e0ea281e3a99406ff8fd53f (patch)
treec5fc12de72ba9691ac71368bddd044d4274ea430 /source4/selftest
parentbcc29f9e7317601737858184f5ec6243552e0c0c (diff)
downloadsamba-3a303ae5ab2bfef58e0ea281e3a99406ff8fd53f.tar.gz
samba-3a303ae5ab2bfef58e0ea281e3a99406ff8fd53f.tar.bz2
samba-3a303ae5ab2bfef58e0ea281e3a99406ff8fd53f.zip
selftest: Add a test for smbclient --machine-pass without secrets.tdb
Errors in handling the upgrade case without a matching secrets.tdb caused segfaults in the server. This essentially tests both sides. Andrew Bartlett
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index f205fe4745..b9944cb799 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -304,7 +304,7 @@ planpythontestsuite("s3dc", "samba.tests.libsmb_samba_internal");
# the API. These mainly test that the various command-line options of commands
# work correctly.
-for env in ["s3member", "s4member", "dc"]:
+for env in ["s3member", "s4member", "dc", "chgdcpass"]:
plantestsuite("samba4.blackbox.smbclient(%s:local)" % env, "%s:local" % env, [os.path.join(samba4srcdir, "utils/tests/test_smbclient.sh"), '$SERVER', '$SERVER_IP', '$USERNAME', '$PASSWORD', '$DOMAIN', smbclient])
planpythontestsuite("none", "samba.tests.blackbox.ndrdump")