summaryrefslogtreecommitdiff
path: root/lib/qemu-wrapper.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-07-08 18:51:01 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-07-08 18:51:01 -0400
commit192c8301d6294aa7e769321286c5fadca50bd68b (patch)
treeae38623adbe3663c12a2f9c7161402582b60651e /lib/qemu-wrapper.c
parentebfa06f4701ae43cf85747f7fc5e671447f9df93 (diff)
qemu-wrapper: make sure status file gets a newline
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'lib/qemu-wrapper.c')
-rw-r--r--lib/qemu-wrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/qemu-wrapper.c b/lib/qemu-wrapper.c
index e3b234e..219b2a2 100644
--- a/lib/qemu-wrapper.c
+++ b/lib/qemu-wrapper.c
@@ -206,7 +206,7 @@ static void test_start(char *new_test, struct timespec now)
current_test_start = now;
current_test_log = test_file_open("log");
- write_test_file("status", "TEST FAILED");
+ write_test_file("status", "TEST FAILED\n");
set_timeout(default_timeout);
}
@@ -324,7 +324,7 @@ again:
fputs(output, stdout);
if (current_test_log && test_is_ending(line)) {
- write_test_file("status", "%s", line);
+ write_test_file("status", "%s\n", line);
test_end(now);
}