summaryrefslogtreecommitdiff
path: root/src/test/test-execute.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-13 21:13:50 -0500
committerGitHub <noreply@github.com>2017-02-13 21:13:50 -0500
commitf34182f00e5517c22cba81a8886481e804f4cc78 (patch)
tree9ed878e2ae674614a7e5b1798fdb44877fb0e83a /src/test/test-execute.c
parent4a027e1935c630e71efdc829c4b72492ad25cbde (diff)
parent4f8425b8d5a3fb2e5ec24b77f1a7a95db55f532c (diff)
Merge pull request #5298 from martinpitt/relocatable-tests
test: make unit tests relocatable and add an "install-tests" make target
Diffstat (limited to 'src/test/test-execute.c')
-rw-r--r--src/test/test-execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-execute.c b/src/test/test-execute.c
index 3a3ab3eb94..145aa37a66 100644
--- a/src/test/test-execute.c
+++ b/src/test/test-execute.c
@@ -516,7 +516,7 @@ int main(int argc, char *argv[]) {
}
assert_se(setenv("XDG_RUNTIME_DIR", "/tmp/", 1) == 0);
- assert_se(set_unit_path(TEST_DIR "/test-execute/") >= 0);
+ assert_se(set_unit_path(TEST_DATA_DIR("/test-execute/")) >= 0);
/* Unset VAR1, VAR2 and VAR3 which are used in the PassEnvironment test
* cases, otherwise (and if they are present in the environment),