mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-12 21:57:27 +03:00
test-networkd-conf: add missing assert_se
Coverity CID#1437351. Fixup for f706340979a. (cherry picked from commit 78cafcbc7ec7eb19d40a07dfa75ad562f7ded643)
This commit is contained in:
parent
80a51430e9
commit
762d645d17
@ -224,7 +224,7 @@ static void test_config_parse_match_ifnames(void) {
|
||||
assert_se(config_parse_match_ifnames("network", "filename", 1, "section", 1, "Name", 0, "!baz", &names, NULL) == 0);
|
||||
assert_se(config_parse_match_ifnames("network", "filename", 1, "section", 1, "Name", 0, "aaa bbb ccc", &names, NULL) == 0);
|
||||
|
||||
strv_equal(names, STRV_MAKE("!hoge", "!hogehoge", "!foo", "!baz", "aaa", "bbb", "ccc"));
|
||||
assert_se(strv_equal(names, STRV_MAKE("!hoge", "!hogehoge", "!foo", "!baz", "aaa", "bbb", "ccc")));
|
||||
}
|
||||
|
||||
static void test_config_parse_match_strv(void) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user