summaryrefslogtreecommitdiff
path: root/wintest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-07 14:06:31 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-07 14:35:36 +1000
commit1367e2b303bb11f26552ee511a823ea551e98cbd (patch)
treef938aac2e0b6113603b26179b80aa35e7d966dd9 /wintest
parente410a1af30467b2f1defd24cb17f5b53d30df7f9 (diff)
downloadsamba-1367e2b303bb11f26552ee511a823ea551e98cbd.tar.gz
samba-1367e2b303bb11f26552ee511a823ea551e98cbd.tar.bz2
samba-1367e2b303bb11f26552ee511a823ea551e98cbd.zip
wintest Allow setting of the firewall to fail
This is also required to allow a telnet connection as non-admin. Andrew Bartlett
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 80132d76b8..d5728a883b 100644
--- a/wintest/wintest.py
+++ b/wintest/wintest.py
@@ -577,7 +577,7 @@ options {
def disable_firewall(self, child):
'''remove the annoying firewall'''
child.sendline('netsh advfirewall set allprofiles state off')
- i = child.expect(["Ok", "The following command was not found: advfirewall set allprofiles state off"])
+ i = child.expect(["Ok", "The following command was not found: advfirewall set allprofiles state off", "The requested operation requires elevation"])
child.expect("C:")
if i == 1:
child.sendline('netsh firewall set opmode mode = DISABLE profile = ALL')