aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2021-03-11 17:42:52 +0100
committerKevin Wolf <kwolf@redhat.com>2021-03-19 10:18:06 +0100
commit5965243641d797b2270082c5a4eab49cb81fc8f0 (patch)
treef7bb814ffbd1b4de1e709d13efa3197585bb5662 /tests/unit
parent1254bd3977b30b3af74bb1f6641fe02d0bf5caf8 (diff)
char: Deprecate backend aliases 'tty' and 'parport'
QAPI doesn't know the aliases 'tty' and 'parport' and there is no reason to prefer them to the real names of the backends 'serial' and 'parallel'. Since warnings are not allowed in 'make check' output, we can't test the deprecated alias any more. Remove it from test-char. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210311164253.338723-3-kwolf@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/test-char.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/unit/test-char.c b/tests/unit/test-char.c
index 755d54c15e..5b3b48ebac 100644
--- a/tests/unit/test-char.c
+++ b/tests/unit/test-char.c
@@ -1199,12 +1199,6 @@ static void char_serial_test(void)
/* TODO: add more tests with a pty */
object_unparent(OBJECT(chr));
- /* test tty alias */
- qemu_opt_set(opts, "backend", "tty", &error_abort);
- chr = qemu_chr_new_from_opts(opts, NULL, &error_abort);
- g_assert_nonnull(chr);
- object_unparent(OBJECT(chr));
-
qemu_opts_del(opts);
}
#endif