summaryrefslogtreecommitdiff
path: root/src/shared
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/shared
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/shared')
-rw-r--r--src/shared/tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/tests.c b/src/shared/tests.c
index 189aa36bc6..bae113bdc8 100644
--- a/src/shared/tests.c
+++ b/src/shared/tests.c
@@ -43,7 +43,7 @@ const char* get_exe_relative_testdata_dir(void) {
assert_se(readlink_and_make_absolute("/proc/self/exe", &exedir) >= 0);
assert_se(snprintf(testdir, sizeof(testdir), "%s/testdata", dirname(exedir)) > 0);
if (access(testdir, F_OK) < 0) {
- fprintf(stderr, "Test data directory '%s' does not exist, set $TEST_DIR\n", testdir);
+ fprintf(stderr, "Test data directory '%s' does not exist, set $SYSTEMD_TEST_DATA\n", testdir);
exit(1);
}
return testdir;