keyfile: fix testcases after InfiniBand transport-mode default change

This commit is contained in:
Mathieu Trudel-Lapierre
2012-03-19 10:10:36 -05:00
committed by Dan Williams
parent 69247a00ea
commit 1a531b7ecf
2 changed files with 2 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ type=infiniband
[infiniband]
mac-address=00:11:22:33:44:55:66:77:88:99:01:12:23:34:45:56:67:78:89:90
transport-mode=datagram
mtu=1400
[ipv4]

View File

@@ -2920,6 +2920,7 @@ test_write_infiniband_connection (void)
g_object_set (s_ib,
NM_SETTING_INFINIBAND_MAC_ADDRESS, mac,
NM_SETTING_INFINIBAND_MTU, 900,
NM_SETTING_INFINIBAND_TRANSPORT_MODE, "datagram",
NULL);
g_byte_array_free (mac, TRUE);