summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-10-03 14:38:30 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-10-03 14:38:30 +0900
commit6aea927681bea61a8b7abfa87217f485316058da (patch)
tree5cff06ab7d235ece2861877e1126c1045a70a602 /test
parentec6a47044a2ab321ae6427ce0d9fa3f6a17544a8 (diff)
downloadsystemd-6aea927681bea61a8b7abfa87217f485316058da.tar.gz
systemd-6aea927681bea61a8b7abfa87217f485316058da.tar.bz2
systemd-6aea927681bea61a8b7abfa87217f485316058da.zip
test: make systemd-networkd-tests.py run on arbitrary directory
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index 043fdac778..fc347c6008 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -28,7 +28,7 @@ def setUpModule():
os.makedirs(networkd_ci_path, exist_ok=True)
shutil.rmtree(networkd_ci_path)
- copytree('conf', networkd_ci_path)
+ copytree(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'conf'), networkd_ci_path)
def tearDownModule():
shutil.rmtree(networkd_ci_path)