aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-28 19:55:01 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-28 19:55:01 +0100
commitd486a2d0c15422796e825f7fb5ab7f0091494896 (patch)
treeb2fe6eef0089fa799efc34480c845cb9247ac606 /test/test-network
parentMerge pull request #10970 from yuwata/from-name-return-negative-errno (diff)
downloadsystemd-d486a2d0c15422796e825f7fb5ab7f0091494896.tar.gz
systemd-d486a2d0c15422796e825f7fb5ab7f0091494896.tar.bz2
systemd-d486a2d0c15422796e825f7fb5ab7f0091494896.zip
test-network: use /run instead of legacy /var/run
Diffstat (limited to 'test/test-network')
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index 130b20f82..37a022922 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -14,14 +14,14 @@ import socket
import threading
from shutil import copytree
-network_unit_file_path='/var/run/systemd/network'
-networkd_ci_path='/var/run/networkd-ci'
+network_unit_file_path='/run/systemd/network'
+networkd_ci_path='/run/networkd-ci'
network_sysctl_ipv6_path='/proc/sys/net/ipv6/conf'
network_sysctl_ipv4_path='/proc/sys/net/ipv4/conf'
-dnsmasq_config_file='/var/run/networkd-ci/test-dnsmasq.conf'
-dnsmasq_pid_file='/var/run/networkd-ci/test-test-dnsmasq.pid'
-dnsmasq_log_file='/var/run/networkd-ci/test-dnsmasq-log-file'
+dnsmasq_config_file='/run/networkd-ci/test-dnsmasq.conf'
+dnsmasq_pid_file='/run/networkd-ci/test-test-dnsmasq.pid'
+dnsmasq_log_file='/run/networkd-ci/test-dnsmasq-log-file'
def is_module_available(module_name):
lsmod_output = subprocess.check_output('lsmod', universal_newlines=True)