summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-01-27 12:15:50 +0100
committerStefan Metzmacher <metze@samba.org>2013-01-27 12:22:51 +0100
commit7e7cd07c405f8b66f5979047cb1a50e1e7a55edd (patch)
tree955acfb50dae4b72d10a1306c2b46c5fc08e4936 /source4/selftest
parent0f8ef5a2c83e0496ef79c3d6f8b1188fdd1943a0 (diff)
downloadsamba-7e7cd07c405f8b66f5979047cb1a50e1e7a55edd.tar.gz
samba-7e7cd07c405f8b66f5979047cb1a50e1e7a55edd.tar.bz2
samba-7e7cd07c405f8b66f5979047cb1a50e1e7a55edd.zip
selftest: rename 'promoted_vampire_dc' to 'promoted_dc'
Unix domain socket are limited to 104 characters on Linux. Using something like this fails as it uses more than 104 characters: '/memdisk/autobuild/flakey/b232141/samba/bin/ab/promoted_vampire_dc/private/smbd.tmp/msg/msg.482379.2147483647' Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index 568d122361..5321500cef 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -498,10 +498,10 @@ 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
-for env in ['vampire_dc', 'promoted_vampire_dc']:
+for env in ['vampire_dc', 'promoted_dc']:
plantestsuite("samba4.blackbox.samba_tool_demote(%s)" % env, env, [os.path.join(samba4srcdir, "utils/tests/test_demote.sh"), '$SERVER', '$SERVER_IP', '$USERNAME', '$PASSWORD', '$DOMAIN', '$DC_SERVER', '$PREFIX/%s' % env, smbclient4])
# TODO: Verifying the databases really should be a part of the
# environment teardown.
# check the databases are all OK. PLEASE LEAVE THIS AS THE LAST TEST
-for env in ["dc", "fl2000dc", "fl2003dc", "fl2008r2dc", 'vampire_dc', 'promoted_vampire_dc']:
+for env in ["dc", "fl2000dc", "fl2003dc", "fl2008r2dc", 'vampire_dc', 'promoted_dc']:
plantestsuite("samba4.blackbox.dbcheck(%s)" % env, env + ":local" , ["PYTHON=%s" % python, os.path.join(bbdir, "dbcheck.sh"), '$PREFIX/provision', configuration])