diff options
author | Thomas Haller <thaller@redhat.com> | 2015-04-10 13:27:53 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-04-10 18:35:42 +0200 |
commit | 7f7c8acbaed65722bad16ebb9d710b5e4097895e (patch) | |
tree | 401481fb464bbfc41acba4b4fcad5a619ad3ece5 | |
parent | 636c8592ced4fb09f3028307de342853a46e8eab (diff) | |
download | NetworkManager-7f7c8acbaed65722bad16ebb9d710b5e4097895e.tar.gz |
test: print NMTST_SEED_RAND value with g_print()
For tests with assert-logging enabled, we already printed
the message with g_print(), instead of g_message().
We always want to print this value, because it is important
to reproduce a test failure. Hence, just (always) print
directly to stdout.
Also, add a leading newline, because the output was attached
to the previous line.
(cherry picked from commit 4ab540939c424ade6cf6eb40cf0d79ec8a17101f)
-rw-r--r-- | include/nm-test-utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nm-test-utils.h b/include/nm-test-utils.h index f615c6b1b7..ccbb415e9e 100644 --- a/include/nm-test-utils.h +++ b/include/nm-test-utils.h @@ -493,7 +493,7 @@ nmtst_get_rand (void) } __nmtst_internal.rand_seed = seed; - __NMTST_LOG (g_message, ">> initialize nmtst_get_rand() with NMTST_SEED_RAND=%u", seed); + g_print ("\nnmtst: initialize nmtst_get_rand() with NMTST_SEED_RAND=%u\n", seed); } return __nmtst_internal.rand; } |