summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-14 19:17:38 -0500
committerMartin Pitt <martin@piware.de>2017-02-16 21:36:31 +0100
commit94fa1497ba98bb083632bd4d3f6cfcf6db8cff03 (patch)
tree86e11102076649655a95060116f670ba5dd8492b /src/test
parent3e29e810ae48c96c17fdaca7ce9da9378eb4056d (diff)
Rename $TEST_DIR to $SYSTEMD_TEST_DATA, document it
TEST_DIR is rather generic, and we prefix all variables used by installed executables with "SYSTEMD_".
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-helper.h b/src/test/test-helper.h
index 4e633ae6d8..02608434be 100644
--- a/src/test/test-helper.h
+++ b/src/test/test-helper.h
@@ -43,4 +43,4 @@
)
#define TEST_DATA_DIR(subdir) \
- strjoina(getenv("TEST_DIR") ?: get_exe_relative_testdata_dir(), subdir)
+ strjoina(getenv("SYSTEMD_TEST_DATA") ?: get_exe_relative_testdata_dir(), subdir)