]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: clarify error message if test data directory does not exist
authorMartin Pitt <martin@piware.de>
Tue, 14 Feb 2017 07:58:19 +0000 (08:58 +0100)
committerMartin Pitt <martin@piware.de>
Thu, 16 Feb 2017 20:36:30 +0000 (21:36 +0100)
commit31f8b331c77160019bb282c8b722ace5c9c290d4
tree08ec8bcb16b089b3b2a9618461f7159020b2754c
parent916b5002861473879088dfa3bb6dfaac9cfdcc68
test: clarify error message if test data directory does not exist

When trying to directly run a test executable in the build tree without
setting $TEST_DIR, some tests fail with a non-obvious error message.
Print an useful one instead.
src/shared/tests.c