summaryrefslogtreecommitdiff
path: root/wintest
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2012-06-05 13:57:59 +0200
committerKai Blin <kai@samba.org>2012-06-21 21:55:20 +0200
commit5305570758e93cbe84f58161d71d65b219dde467 (patch)
tree501e984c9509d13c8a27259cd7573a8250a82d90 /wintest
parent884e28f66b01a8bf21f855f91875f22defa121ab (diff)
downloadsamba-5305570758e93cbe84f58161d71d65b219dde467.tar.gz
samba-5305570758e93cbe84f58161d71d65b219dde467.tar.bz2
samba-5305570758e93cbe84f58161d71d65b219dde467.zip
wintest: extend get_is_dc function with additional expectations
Windows Server 2003 r2 answers "wintest2k3 is not a DC." Signed-off-by: Kai Blin <kai@samba.org>
Diffstat (limited to 'wintest')
-rw-r--r--wintest/wintest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wintest/wintest.py b/wintest/wintest.py
index 93da47a6a6..d01e94bf65 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"])