selftest: Run demote test against the RODC environment also
authorAndrew Bartlett <abartlet@samba.org>
Tue, 22 Sep 2015 03:40:00 +0000 (15:40 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 26 Oct 2015 04:11:21 +0000 (05:11 +0100)
source4/selftest/tests.py

index 17bd8c9264af473872a70c1347b0db1e32d5db93..acacadbbae74f890b39b0fff7579d3e5be82af68 100755 (executable)
@@ -610,7 +610,7 @@ for env in [
                            )
 
 # Demote the vampire DC, it must be the last test each DC, before the dbcheck
-for env in ['vampire_dc', 'promoted_dc']:
+for env in ['vampire_dc', 'promoted_dc', 'rodc']:
     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