summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-05-30 12:21:42 +0200
committerMichael Adam <obnox@samba.org>2012-05-31 04:46:07 +0200
commit769908540f047f24fcd3c57a90843abca85252b2 (patch)
tree936fbe7bbbd3ae0f9b3f5f2a8b0047f3367a0da9 /source4/selftest
parent72fbbdb9b35fe2f6da09512fe9d887c7a8211739 (diff)
downloadsamba-769908540f047f24fcd3c57a90843abca85252b2.tar.gz
samba-769908540f047f24fcd3c57a90843abca85252b2.tar.bz2
samba-769908540f047f24fcd3c57a90843abca85252b2.zip
s4:selftest: change the blackbox.samba_tool_demote test to use a binary mapping for smbclient
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 ac68fb0562..9a6af526cc 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -521,7 +521,7 @@ plantestsuite("samba4.blackbox.provision-backend", "none", ["PYTHON=%s" % python
plantestsuite("samba4.blackbox.renamedc.sh", "none", ["PYTHON=%s" % python, os.path.join(bbdir, "renamedc.sh"), '$PREFIX/provision'])
# Demote the vampire DC, it must be the last test on the VAMPIRE DC
-plantestsuite("samba4.blackbox.samba_tool_demote(vampire_dc)", "vampire_dc", [os.path.join(samba4srcdir, "utils/tests/test_demote.sh"), '$SERVER', '$SERVER_IP', '$USERNAME', '$PASSWORD', '$DOMAIN', '$DC_SERVER', '$PREFIX/vampire_dc'])
+plantestsuite("samba4.blackbox.samba_tool_demote(vampire_dc)", "vampire_dc", [os.path.join(samba4srcdir, "utils/tests/test_demote.sh"), '$SERVER', '$SERVER_IP', '$USERNAME', '$PASSWORD', '$DOMAIN', '$DC_SERVER', '$PREFIX/vampire_dc', smbclient])
# check the databases are all OK. PLEASE LEAVE THIS AS THE LAST TEST
for env in ["dc", "fl2000dc", "fl2003dc", "fl2008r2dc"]:
plantestsuite("samba4.blackbox.dbcheck(%s)" % env, env + ":local" , ["PYTHON=%s" % python, os.path.join(bbdir, "dbcheck.sh"), '$PREFIX/provision', configuration])