X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Ftest%2Ftest-conf-parser.c;fp=src%2Ftest%2Ftest-conf-parser.c;h=8e951d7cfeebda3109cf0cf1c6b846268b3b4783;hb=07c1259e9a7bbbee52cbb820a1559d92b7fe473d;hp=1d74e1b011c143b5b7ddf51ca5425340defa4858;hpb=ca4a9be47c32d6f574f005574486a40b18d93618;p=elogind.git diff --git a/src/test/test-conf-parser.c b/src/test/test-conf-parser.c index 1d74e1b01..8e951d7cf 100644 --- a/src/test/test-conf-parser.c +++ b/src/test/test-conf-parser.c @@ -190,6 +190,8 @@ static void test_config_parse_strv(void) { test_config_parse_strv_one("foo", STRV_MAKE("foo")); test_config_parse_strv_one("foo bar foo", STRV_MAKE("foo", "bar", "foo")); test_config_parse_strv_one("\"foo bar\" foo", STRV_MAKE("foo bar", "foo")); + test_config_parse_strv_one("\xc3\x80", STRV_MAKE("\xc3\x80")); + test_config_parse_strv_one("\xc3\x7f", STRV_MAKE_EMPTY); } static void test_config_parse_mode(void) {