summaryrefslogtreecommitdiff
path: root/src/test/test-helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-helper.h')
-rw-r--r--src/test/test-helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-helper.h b/src/test/test-helper.h
index 02608434be..7c9eff2483 100644
--- a/src/test/test-helper.h
+++ b/src/test/test-helper.h
@@ -42,5 +42,5 @@
-ENOMEDIUM /* cannot determine cgroup */ \
)
-#define TEST_DATA_DIR(subdir) \
- strjoina(getenv("SYSTEMD_TEST_DATA") ?: get_exe_relative_testdata_dir(), subdir)
+#define TEST_DATA_DIR(subdir) \
+ strjoina(get_testdata_dir(), subdir)