mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 12:34:55 +00:00
tests: fix tests without libjansson support (--enable-json-validation=no)
This commit is contained in:
parent
39455bb99f
commit
a5acd0bdc6
|
@ -4708,7 +4708,9 @@ test_nm_utils_check_valid_json (void)
|
|||
#else
|
||||
/* Without JSON library everything except empty string is considered valid */
|
||||
_json_config_check_valid ("{ }", TRUE);
|
||||
_json_config_check_valid ("{'%!-a1", TRUE);
|
||||
_json_config_check_valid ("{'%!-a1} ", TRUE);
|
||||
_json_config_check_valid (" {'%!-a1}", TRUE);
|
||||
_json_config_check_valid ("{'%!-a1", FALSE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
DEVICE=team0
|
||||
ONBOOT=no
|
||||
BOOTPROTO=dhcp
|
||||
TEAM_CONFIG="{ foobar }"
|
||||
TEAM_CONFIG="{ foobar }x"
|
||||
|
|
Loading…
Reference in a new issue