diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2017-04-14 22:53:36 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2017-04-15 12:30:05 +0200 |
commit | bacb68f3f6f65fdcc5542d030a69cfbd1895dc62 (patch) | |
tree | 54dc36bace16de7b5c62f9e6c69698d011755f66 | |
parent | 738c2fcefc1397b7e5824a8e1250538c888c2c3c (diff) | |
download | NetworkManager-bacb68f3f6f65fdcc5542d030a69cfbd1895dc62.tar.gz |
wifi/test-general: don't do g_message() in test
An unexpected message causes the test to abort after the first line of
output.
-rw-r--r-- | src/devices/wifi/tests/test-general.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/wifi/tests/test-general.c b/src/devices/wifi/tests/test-general.c index 3e61c5f0ac..0290fae8b2 100644 --- a/src/devices/wifi/tests/test-general.c +++ b/src/devices/wifi/tests/test-general.c @@ -44,16 +44,16 @@ \ success = nm_connection_compare (src, expected, NM_SETTING_COMPARE_FLAG_EXACT); \ if (success == FALSE && DEBUG) { \ - g_message ("\n- COMPLETED ---------------------------------\n"); \ + g_print ("\n- COMPLETED ---------------------------------\n"); \ nm_connection_dump (src); \ - g_message ("+ EXPECTED ++++++++++++++++++++++++++++++++++++\n"); \ + g_print ("+ EXPECTED ++++++++++++++++++++++++++++++++++++\n"); \ nm_connection_dump (expected); \ - g_message ("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n"); \ + g_print ("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n"); \ } \ g_assert (success == TRUE); \ } else { \ if (success) { \ - g_message ("\n- COMPLETED ---------------------------------\n"); \ + g_print ("\n- COMPLETED ---------------------------------\n"); \ nm_connection_dump (src); \ } \ g_assert (success == FALSE); \ |