From 5305570758e93cbe84f58161d71d65b219dde467 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Baumbach?= Date: Tue, 5 Jun 2012 13:57:59 +0200 Subject: [PATCH] wintest: extend get_is_dc function with additional expectations Windows Server 2003 r2 answers "wintest2k3 is not a DC." Signed-off-by: Kai Blin --- wintest/wintest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wintest/wintest.py b/wintest/wintest.py index 93da47a6a62..d01e94bf658 100644 --- a/wintest/wintest.py +++ b/wintest/wintest.py @@ -554,7 +554,7 @@ options { def get_is_dc(self, child): '''check if a windows machine is a domain controller''' child.sendline("dcdiag") - i = child.expect(["is not a Directory Server", + i = child.expect(["is not a [Directory Server|DC]", "is not recognized as an internal or external command", "Home Server = ", "passed test Replications"]) -- 2.34.1