mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 08:48:07 +02:00
libnm/tests: enable check for dangling pointer in test_activate_virtual()
This commit is contained in:
parent
8eef822093
commit
125b1f9a9a
1 changed files with 2 additions and 2 deletions
|
|
@ -812,7 +812,7 @@ _dev_eth0_1_state_changed_cb(NMDevice *device,
|
|||
g_assert(arr);
|
||||
g_assert_cmpint(arr->len, ==, 0);
|
||||
|
||||
// g_assert(!nm_device_get_active_connection(device));
|
||||
g_assert(!nm_device_get_active_connection(device));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -921,7 +921,7 @@ test_activate_virtual(void)
|
|||
g_assert(arr);
|
||||
g_assert_cmpint(arr->len, ==, 0);
|
||||
|
||||
// g_assert(!nm_device_get_active_connection(dev_eth0_1));
|
||||
g_assert(!nm_device_get_active_connection(dev_eth0_1));
|
||||
|
||||
nm_clear_g_signal_handler(dev_eth0_1, &sig_id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue