summaryrefslogtreecommitdiffstats
path: root/test/sd-script.py
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-11-22 19:32:34 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-11-23 09:33:43 +0100
commit9e05e3387153daa3c3b7ce77e99a1d75fd8b7a2a (patch)
tree9ee9fffcbfd5dc425242649086bf808c3a06a491 /test/sd-script.py
parentnspawn: improve log message on bad incoming sd_notify() message (diff)
downloadsystemd-9e05e3387153daa3c3b7ce77e99a1d75fd8b7a2a.tar.xz
systemd-9e05e3387153daa3c3b7ce77e99a1d75fd8b7a2a.zip
networkd-test.py: fix interface state checker
After 259125d53d98541623b69e83000b5543f2352f5e, network interfaces declared by .netdev files are created after systemd-networkd sends READY notification. So, even when networkd is started, the netdevs may not be created yet, and 'ip' command may fail. Let's also check the return code of the command. This also - drops never worked stdout checks, - makes the test fail if the interface is not created within the timeout.
Diffstat (limited to 'test/sd-script.py')
0 files changed, 0 insertions, 0 deletions