[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qemu-iotests: filter QEMU monitor \r\n
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] qemu-iotests: filter QEMU monitor \r\n |
Date: |
Thu, 5 Dec 2013 17:01:23 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Nov 14, 2013 at 03:34:06PM +0100, Stefan Hajnoczi wrote:
> SMTP does not preserve newlines. This is normally not a problem if the
> email body uses DOS or UNIX newlines consistently. In 051.out we mix
> UNIX newlines with DOS newlines (since QEMU monitor output uses \r\n).
>
> This patch filters the QEMU monitor output so the golden master file
> uses UNIX newlines exclusively.
>
> The result is that patches touching 051.out will apply cleanly without
> mangling newlines after this commit.
>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> ---
> If you have trouble applying this patch, you can use by git repo:
> git://github.com/stefanha/qemu.git fix-qemu-io-cr
>
> Luiz: CCed you just because I was surprised monitor.c uses \r\n. Perhaps this
> is because terminal or telnet emulation is somehow mixed into the core
> monitor.c code?
>
> tests/qemu-iotests/051.out | 112
> +++++++++++++++++++--------------------
> tests/qemu-iotests/common.filter | 3 +-
> 2 files changed, 58 insertions(+), 57 deletions(-)
Applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH] qemu-iotests: filter QEMU monitor \r\n,
Stefan Hajnoczi <=