From 9bac90882d141d93d36850b1c5c49d4d2b00e6be Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 1 Feb 2022 18:15:16 +0100 Subject: [PATCH] test: disable broken test When a prefix is given, the file should not be found. --- test/test-config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test-config.c b/test/test-config.c index efa0edd24..d1397bafb 100644 --- a/test/test-config.c +++ b/test/test-config.c @@ -46,6 +46,7 @@ PWTEST(config_load_abspath) pwtest_str_eq(pw_properties_get(props, "data"), "x"); pw_properties_free(props); +#if 0 /* Load with non-NULL abs prefix and abs path */ props = pw_properties_new("ignore", "me", NULL); r = pw_conf_load_conf("/dummy", path, props); @@ -59,6 +60,7 @@ PWTEST(config_load_abspath) pwtest_neg_errno_ok(r); pwtest_str_eq(pw_properties_get(props, "data"), "x"); pw_properties_free(props); +#endif /* Load with non-NULL abs prefix and relative path */ basename = rindex(path, '/'); /* basename(3) and dirname(3) are terrible */