]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/test/test-path-util.c
meson: make user $PATH configurable
[thirdparty/systemd.git] / src / test / test-path-util.c
index ece3eb427c35145bbe3e349cc160f249deb6f260..46cdbaf5cc3bcdfcae12f432f3930c7ca8c448bd 100644 (file)
 #include "tests.h"
 #include "util.h"
 
+static void test_print_paths(void) {
+        log_info("DEFAULT_PATH=%s", DEFAULT_PATH);
+        log_info("DEFAULT_USER_PATH=%s", DEFAULT_USER_PATH);
+}
+
 #define test_path_compare(a, b, result) {                 \
                 assert_se(path_compare(a, b) == result);  \
                 assert_se(path_compare(b, a) == -result); \
@@ -659,6 +664,7 @@ static void test_path_startswith_strv(void) {
 int main(int argc, char **argv) {
         test_setup_logging(LOG_DEBUG);
 
+        test_print_paths();
         test_path();
         test_path_equal_root();
         test_find_binary(argv[0]);