diff options
author | Thomas Huth <thuth@redhat.com> | 2019-03-01 16:10:18 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2019-03-07 22:16:22 +0100 |
commit | 13ee9e30c8855a8b8d62b05992cfc65fc57a8df5 (patch) | |
tree | d842d63dacca1c6c2d2d5b7f853610eb578bd4ce /tests/migration-test.c | |
parent | 142659b89cf45ab9117d4abe771fff67c74dfac5 (diff) |
tests: Do not use "\n" in g_test_message() strings
g_test_message() takes care of the newline on its own, so we
should not use \n in the strings here.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/migration-test.c')
-rw-r--r-- | tests/migration-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/migration-test.c b/tests/migration-test.c index e3617ceaca..48dc20a2ae 100644 --- a/tests/migration-test.c +++ b/tests/migration-test.c @@ -1066,7 +1066,7 @@ int main(int argc, char **argv) tmpfs = mkdtemp(template); if (!tmpfs) { - g_test_message("mkdtemp on path (%s): %s\n", template, strerror(errno)); + g_test_message("mkdtemp on path (%s): %s", template, strerror(errno)); } g_assert(tmpfs); @@ -1087,7 +1087,7 @@ int main(int argc, char **argv) ret = rmdir(tmpfs); if (ret != 0) { - g_test_message("unable to rmdir: path (%s): %s\n", + g_test_message("unable to rmdir: path (%s): %s", tmpfs, strerror(errno)); } |