diff options
| author | Michael Biebl <biebl@debian.org> | 2024-01-25 09:46:18 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2024-01-25 09:46:18 +0100 |
| commit | 70e18d99b8e3e77bb37e218d7ac582130156f8ef (patch) | |
| tree | d40c587e6d3f0e094ff558e415f1bb9803643214 /src/libnm-client-impl/tests | |
| parent | d4d8b2b91f7ba000d97a8b2aab48c85000c11314 (diff) | |
New upstream version 1.45.90 upstream/1.45.90
Diffstat (limited to 'src/libnm-client-impl/tests')
| -rwxr-xr-x | src/libnm-client-impl/tests/test-gir.py | 2 | ||||
| -rw-r--r-- | src/libnm-client-impl/tests/test-libnm.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/libnm-client-impl/tests/test-gir.py b/src/libnm-client-impl/tests/test-gir.py index 9b42431c..554080fa 100755 --- a/src/libnm-client-impl/tests/test-gir.py +++ b/src/libnm-client-impl/tests/test-gir.py @@ -118,7 +118,7 @@ ver_syms = syms_from_ver(args.ver) exit_code = 0 -for (gir_sym, gir_ver) in gir_syms.items(): +for gir_sym, gir_ver in gir_syms.items(): if gir_sym not in ver_syms: exit_code = 1 print( diff --git a/src/libnm-client-impl/tests/test-libnm.c b/src/libnm-client-impl/tests/test-libnm.c index 456f1855..59774f96 100644 --- a/src/libnm-client-impl/tests/test-libnm.c +++ b/src/libnm-client-impl/tests/test-libnm.c @@ -3188,6 +3188,10 @@ check_dbus_properties: && nm_streq(pspec->name, NM_DEVICE_WIREGUARD_FWMARK)) { g_assert_cmpstr(obj_property_name, ==, "fw-mark"); expected_property_name = NM_DEVICE_WIREGUARD_FWMARK; + } else if (mif == &_nml_dbus_meta_iface_nm_device_iptunnel + && nm_streq(pspec->name, NM_DEVICE_IP_TUNNEL_FWMARK)) { + g_assert_cmpstr(obj_property_name, ==, "fw-mark"); + expected_property_name = NM_DEVICE_IP_TUNNEL_FWMARK; } else if (NM_IN_SET(mif, &_nml_dbus_meta_iface_nm_ip4config, &_nml_dbus_meta_iface_nm_ip6config) |