diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index ec2661d631..7c40707b18 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -64,7 +64,7 @@ def call(*command, **kwargs): def run(*command, **kwargs): command = command[0].split() + list(command[1:]) - return subprocess.run(command, universal_newlines=True, **kwargs) + return subprocess.run(command, universal_newlines=True, check=False, **kwargs) def is_module_available(module_name): lsmod_output = check_output('lsmod')