From 9ced0df3794901b65d6329ba0d2f9d82f759cdac Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 7 Apr 2011 12:25:30 +1000 Subject: wintest Allow changing the telnet settings to fail, we might not be admin This allows us to test logging in as non-admin users over telnet --- wintest/wintest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wintest') diff --git a/wintest/wintest.py b/wintest/wintest.py index 2a6da7d656..e4419beb0c 100644 --- a/wintest/wintest.py +++ b/wintest/wintest.py @@ -571,7 +571,7 @@ options { def run_tlntadmn(self, child): '''remove the annoying telnet restrictions''' child.sendline('tlntadmn config maxconn=1024') - child.expect("The settings were successfully updated") + child.expect(["The settings were successfully updated", "Access is denied"]) child.expect("C:") def disable_firewall(self, child): -- cgit