mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-14 08:01:25 +00:00
Fix test test_openwrt_lan
This commit is contained in:
@@ -269,7 +269,7 @@ def test_openwrt_lan(docker_services, parameter):
|
||||
|
||||
case 'veth,nofixedip':
|
||||
# Get all IPv4 addresses
|
||||
process = subprocess.run(['sh','-c','ip addr show veth-openwrt0 | grep -oP "(?<=inet\s)\d+(\.\d+){3}"'],
|
||||
process = subprocess.run(['sh','-c',r'ip addr show veth-openwrt0 | grep -oP "(?<=inet\s)\d+(\.\d+){3}"'],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
universal_newlines=True)
|
||||
|
||||
Reference in New Issue
Block a user