LADI
/
spa
1
Fork 0

test: disable broken test

When a prefix is given, the file should not be found.
This commit is contained in:
Wim Taymans 2022-02-01 18:15:16 +01:00
parent f273e2a716
commit 9bac90882d
1 changed files with 2 additions and 0 deletions

View File

@ -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 */