summaryrefslogtreecommitdiff
path: root/src/test/test-path.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-path.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-path.c')
-rw-r--r--src/test/test-path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-path.c b/src/test/test-path.c
index 5e99d478ee..d09df3e8a5 100644
--- a/src/test/test-path.c
+++ b/src/test/test-path.c
@@ -263,7 +263,7 @@ int main(int argc, char *argv[]) {
log_open();
assert_se(runtime_dir = setup_fake_runtime_dir());
- assert_se(set_unit_path(TEST_DIR "/test-path/") >= 0);
+ assert_se(set_unit_path(TEST_DATA_DIR("/test-path/")) >= 0);
for (test = tests; test && *test; test++) {
int r;