projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3065070
)
test-char: destroy chardev-udp after test
author
Anton Nefedov
<anton.nefedov@virtuozzo.com>
Thu, 6 Jul 2017 12:08:53 +0000
(15:08 +0300)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 14 Jul 2017 09:04:33 +0000
(11:04 +0200)
this is only not a problem if the test is last in a suite,
otherwise it makes the following main_loop() calls to fail
Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <
1499342940
-56739-7-git-send-email-anton.nefedov@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/test-char.c
patch
|
blob
|
history
diff --git
a/tests/test-char.c
b/tests/test-char.c
index 38aaa270ab87cecf767a0549ba0c8ba0a9041b05..536536e2d81b516e26d0e9510e5e342987aee876 100644
(file)
--- a/
tests/test-char.c
+++ b/
tests/test-char.c
@@
-450,6
+450,7
@@
static void char_udp_test(void)
close(sock);
g_free(tmp);
+ qemu_chr_fe_deinit(&be, true);
}
#ifdef HAVE_CHARDEV_SERIAL