diff options
author | Anton Nefedov <anton.nefedov@virtuozzo.com> | 2017-07-06 15:08:53 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-07-14 11:04:33 +0200 |
commit | 12f043c240580b5b4b2d67d8deb29537d679e3a2 (patch) | |
tree | 7887990277777c27633bcd75ab3df93839a44a2d /tests | |
parent | 3065070153ef4235659d821c0d6fa28fd0630c57 (diff) |
test-char: destroy chardev-udp after test
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-char.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-char.c b/tests/test-char.c index 38aaa270ab..536536e2d8 100644 --- 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 |