diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2017-02-17 11:38:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-17 11:38:23 +0300 |
commit | f73e6ee687213d8f78a93a9519901d0fe314c228 (patch) | |
tree | 30e41a1b946ad8391f806be4cb85250b97732715 /src/test/test-path.c | |
parent | 5c1be4f73082d09011661516c39fb53626d8bdc7 (diff) | |
parent | e53bcabb4b885ec998cc693e0788c3d68617bef2 (diff) |
Merge pull request #5338 from mbiebl/fix-install-tests-target
Fix "make install-tests" when srcdir != builddir, fix valgrind-tests
Diffstat (limited to 'src/test/test-path.c')
-rw-r--r-- | src/test/test-path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-path.c b/src/test/test-path.c index d09df3e8a5..70ac6b3df3 100644 --- a/src/test/test-path.c +++ b/src/test/test-path.c @@ -262,8 +262,8 @@ int main(int argc, char *argv[]) { log_parse_environment(); log_open(); + assert_se(set_unit_path(get_testdata_dir("/test-path")) >= 0); assert_se(runtime_dir = setup_fake_runtime_dir()); - assert_se(set_unit_path(TEST_DATA_DIR("/test-path/")) >= 0); for (test = tests; test && *test; test++) { int r; |