31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
From a3564a34043550b1cd176b87cdaa47c739f38341 Mon Sep 17 00:00:00 2001
|
|
From: Antonio Cardace <acardace@redhat.com>
|
|
Date: Fri, 4 Dec 2020 12:55:32 +0100
|
|
Subject: [PATCH] initrd: fix failing unit test
|
|
|
|
In RHEL 8.3 commit fc7c83cbdd has not been backported as it's a
|
|
breaking change thus this test needs adjusting as it assumed the new
|
|
behaviour.
|
|
|
|
Signed-off-by: Antonio Cardace <acardace@redhat.com>
|
|
---
|
|
src/initrd/tests/test-cmdline-reader.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/initrd/tests/test-cmdline-reader.c b/src/initrd/tests/test-cmdline-reader.c
|
|
index f5c1a1422..c4c5c7483 100644
|
|
--- a/src/initrd/tests/test-cmdline-reader.c
|
|
+++ b/src/initrd/tests/test-cmdline-reader.c
|
|
@@ -1359,7 +1359,7 @@ test_vlan_over_bond (void)
|
|
g_assert (s_ip6);
|
|
g_assert_cmpstr (nm_setting_ip_config_get_method (s_ip6),
|
|
==,
|
|
- NM_SETTING_IP6_CONFIG_METHOD_DISABLED);
|
|
+ NM_SETTING_IP6_CONFIG_METHOD_AUTO);
|
|
s_vlan = nm_connection_get_setting_vlan (connection);
|
|
g_assert (s_vlan);
|
|
g_assert_cmpstr(nm_setting_vlan_get_parent (s_vlan), ==, "bond2");
|
|
--
|
|
2.28.0
|
|
|