chiark / gitweb /
conf-parser: fix wrong argument given to log_syntax_invalid_utf8
[elogind.git] / src / test / test-conf-parser.c
index 1d74e1b011c143b5b7ddf51ca5425340defa4858..8e951d7cfeebda3109cf0cf1c6b846268b3b4783 100644 (file)
@@ -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) {