mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
wintest: handle missing firewall commands
my w2k3 box doesn't have these firewall commands
This commit is contained in:
parent
1e96da556a
commit
3bc6145143
@ -319,7 +319,9 @@ class wintest():
|
||||
child.expect("C:")
|
||||
if i == 1:
|
||||
child.sendline('netsh firewall set opmode mode = DISABLE profile = ALL')
|
||||
child.expect("Ok")
|
||||
i = child.expect(["Ok", "The following command was not found"])
|
||||
if i != 0:
|
||||
self.info("Firewall disable failed - ignoring")
|
||||
child.expect("C:")
|
||||
|
||||
def set_dns(self, child):
|
||||
|
Loading…
x
Reference in New Issue
Block a user