diff options
| author | Michael Biebl <biebl@debian.org> | 2022-11-18 17:49:21 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2022-11-18 17:49:21 +0100 |
| commit | 35b6136bc39c77da74de1325e13871bc985c5352 (patch) | |
| tree | f5d91944aa7b1df3b4cf397e617e9af9cfea89cf /src/nm-initrd-generator/tests/test-ibft-reader.c | |
| parent | c9f38062acbf43edb3b33c336ba19a449664c3de (diff) | |
| parent | 913bcb40f6c699f8a38351c69e7ea263fe78f71f (diff) | |
Update upstream source from tag 'upstream/1.40.4'
Update to upstream version '1.40.4' with Debian dir 7084cdfc71b038bf79ea5f3c53dfea86e49c80cb
Diffstat (limited to 'src/nm-initrd-generator/tests/test-ibft-reader.c')
| -rw-r--r-- | src/nm-initrd-generator/tests/test-ibft-reader.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nm-initrd-generator/tests/test-ibft-reader.c b/src/nm-initrd-generator/tests/test-ibft-reader.c index 55925a9a..4aa4d7f3 100644 --- a/src/nm-initrd-generator/tests/test-ibft-reader.c +++ b/src/nm-initrd-generator/tests/test-ibft-reader.c @@ -72,6 +72,9 @@ test_read_ibft_dhcp(void) g_assert_cmpstr(nm_setting_connection_get_interface_name(s_con), ==, NULL); g_assert_cmpint(nm_setting_connection_get_timestamp(s_con), ==, 0); g_assert(nm_setting_connection_get_autoconnect(s_con)); + g_assert_cmpint(nm_setting_connection_get_autoconnect_priority(s_con), + ==, + NMI_AUTOCONNECT_PRIORITY_FIRMWARE); s_wired = nm_connection_get_setting_wired(connection); g_assert(s_wired); @@ -121,6 +124,9 @@ test_read_ibft_static(void) g_assert_cmpstr(nm_setting_connection_get_interface_name(s_con), ==, NULL); g_assert_cmpint(nm_setting_connection_get_timestamp(s_con), ==, 0); g_assert(nm_setting_connection_get_autoconnect(s_con)); + g_assert_cmpint(nm_setting_connection_get_autoconnect_priority(s_con), + ==, + NMI_AUTOCONNECT_PRIORITY_FIRMWARE); s_wired = nm_connection_get_setting_wired(connection); g_assert(s_wired); |