From: Vivian Wang <wangruikang@iscas.ac.cn>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: qemu-devel@nongnu.org, Laurent Vivier <laurent@vivier.eu>,
Luca Bonissi <qemu@bonslack.org>,
Richard Henderson <richard.henderson@linaro.org>
Subject: Re: [PATCH] linux-user: Add missing termios baud rates
Date: Wed, 3 Dec 2025 16:30:47 +0800 [thread overview]
Message-ID: <4deadc0f-db5c-4908-a2fb-6af96962ab0e@iscas.ac.cn> (raw)
In-Reply-To: <87tsy9m77l.fsf@igel.home>
Hi Andreas,
On 12/2/25 19:52, Andreas Schwab wrote:
> On Dez 02 2025, Vivian Wang wrote:
>
>> The test tst-termios-linux requires termios2, which is provided by [1].
>> After that the test failure reported in [2] should be resolved by this
>> patch.
> I still get a lot of errors with the two patches:
>
> error: ../sysdeps/unix/sysv/linux/tst-termios-linux.c:196: c_ispeed = 75, expected 1200
> error: ../sysdeps/unix/sysv/linux/tst-termios-linux.c:269: ospeed 75 ispeed 1200: kernel c_ispeed == 75, expected 1200
> error: ../sysdeps/unix/sysv/linux/tst-termios-linux.c:274: ospeed 75 ispeed 1200: kernel CIBAUD = __B0 (000000), expected __B1200 (000011)
> error: ../sysdeps/unix/sysv/linux/tst-termios-linux.c:196: c_ispeed = 9600, expected 456789
> error: ../sysdeps/unix/sysv/linux/tst-termios-linux.c:269: ospeed 9600 ispeed 456789: kernel c_ispeed == 9600, expected 456789
> error: ../sysdeps/unix/sysv/linux/tst-termios-linux.c:274: ospeed 9600 ispeed 456789: kernel CIBAUD = __B0 (000000), expected __BOTHER (010000)
> error: ../sysdeps/unix/sysv/linux/tst-termios-linux.c:196: c_ispeed = 54321, expected 1234567890
> error: ../sysdeps/unix/sysv/linux/tst-termios-linux.c:269: ospeed 54321 ispeed 1234567890: kernel c_ispeed == 54321, expected 1234567890
> error: ../sysdeps/unix/sysv/linux/tst-termios-linux.c:274: ospeed 54321 ispeed 1234567890: kernel CIBAUD = __B0 (000000), expected __BOTHER (010000)
> ...
> error: 8343 test failures
>
Thanks for catching this, and sorry for the mistake. I had apparently
had a dirty version of the test files that missed these split speed tests.
I will fix these in the next version.
Vivian "dramforever" Wang
prev parent reply other threads:[~2025-12-03 8:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-02 5:14 [PATCH] linux-user: Add missing termios baud rates Vivian Wang
2025-12-02 11:52 ` Andreas Schwab
2025-12-03 8:30 ` Vivian Wang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4deadc0f-db5c-4908-a2fb-6af96962ab0e@iscas.ac.cn \
--to=wangruikang@iscas.ac.cn \
--cc=laurent@vivier.eu \
--cc=qemu-devel@nongnu.org \
--cc=qemu@bonslack.org \
--cc=richard.henderson@linaro.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).