Searched defs:lang3 (Results 1 - 1 of 1) sorted by relevance

/systemd/src/journal/
H A Dtest-catalog.c203 _cleanup_free_ char *lang = NULL, *lang2 = NULL, *lang3 = NULL, *lang4 = NULL; local
214 assert_se(catalog_file_lang("systemd.fr.catalog.gz", &lang3) == 0);
215 assert_se(lang3 == NULL);
217 assert_se(catalog_file_lang("systemd.01234567890123456789012345678901.catalog", &lang3) == 0);
218 assert_se(lang3 == NULL);
220 assert_se(catalog_file_lang("systemd.0123456789012345678901234567890.catalog", &lang3) == 1);
221 assert_se(streq(lang3, "0123456789012345678901234567890"));

Completed in 966 milliseconds