summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-06-24 17:16:22 +0200
committerThomas Haller <thaller@redhat.com>2015-07-02 15:50:03 +0200
commite1b0195c67d16f6fd44770828e912d190f2cd888 (patch)
tree7eb18e6a5fc026e2ad25552533cdd81781994696
parent71323122c6b755cfc50ce93c07d6758b45c19cba (diff)
downloadNetworkManager-e1b0195c67d16f6fd44770828e912d190f2cd888.tar.gz
libnm-keyfile/test: fix missing assertion in test
-rw-r--r--libnm-core/tests/test-keyfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm-core/tests/test-keyfile.c b/libnm-core/tests/test-keyfile.c
index f9eb574b0c..c2e0ad6e93 100644
--- a/libnm-core/tests/test-keyfile.c
+++ b/libnm-core/tests/test-keyfile.c
@@ -152,7 +152,7 @@ _keyfile_convert (NMConnection **con,
c0_k1_c2 = _nm_keyfile_read (c0_k1, keyfile_name, base_dir, read_handler, read_data, FALSE);
c0_k1_c2_k3 = _nm_keyfile_write (c0_k1_c2, write_handler, write_data);
- _nm_keyfile_equals (c0_k1, c0_k1_c2_k3);
+ g_assert (_nm_keyfile_equals (c0_k1, c0_k1_c2_k3));
}
if (k0) {
NMSetting8021x *s1, *s2;
@@ -214,7 +214,7 @@ _keyfile_convert (NMConnection **con,
else {
/* finally, if both a keyfile and a connection are given, assert that they are equal
* after a round of conversion. */
- _nm_keyfile_equals (c0_k1, k0_c1_k2);
+ g_assert (_nm_keyfile_equals (c0_k1, k0_c1_k2));
nmtst_assert_connection_equals (k0_c1, FALSE, c0_k1_c2, FALSE);
}
}