qemu-iotests: Filter out "qemu-io> " in all tests
v2 cover qemu-iotests: Filter out "qemu-io> " in all tests
The second patch is too large as a mail, you can pull from:
https://github.com/famz/qemu.git 035-filter-qemu-io
v2: Rebase to current master.
[01] Add Reviewed-by for Eric.
[02] Update comment to describe the command for mechanical substitution. (Eric)
Fam Zheng (2):
qemu-iotests: Filter qemu-io output in 025
qemu-iotests: Filter out 'qemu-io> ' prompt
tests/qemu-iotests/013.out | 44080 ++++++++++++------------- tests/qemu-iotests/014.out | 64204 ++++++++++++++++++------------------- tests/qemu-iotests/017.out | 1080 +- tests/qemu-iotests/018.out | 1080 +- tests/qemu-iotests/019.out | 1636 +- tests/qemu-iotests/020.out | 1080 +- tests/qemu-iotests/022.out | 8816 ++--- tests/qemu-iotests/023.out | 26800 ++++++++-------- tests/qemu-iotests/024.out | 164 +- tests/qemu-iotests/025 | 2 +- tests/qemu-iotests/025.out | 18 +- tests/qemu-iotests/028.out | 458 +- tests/qemu-iotests/032.out | 68 +- tests/qemu-iotests/035.out | 2 +- tests/qemu-iotests/037.out | 616 +- tests/qemu-iotests/038.out | 714 +- tests/qemu-iotests/046.out | 232 +- tests/qemu-iotests/047.out | 20 +- tests/qemu-iotests/048.out | 34 +- tests/qemu-iotests/common.filter | 3 +- 20 files changed, 75554 insertions(+), 75553 deletions(-)
Signature · 1 line
1.8.4.2
PATCH v2 1/2 qemu-iotests: Filter qemu-io output in 025
--- tests/qemu-iotests/025 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qemu-iotests/025 +1 -1
@@ -56,7 +56,7 @@ _check_test_img echo echo "=== Resizing image" -$QEMU_IO "$TEST_IMG" <<EOF +$QEMU_IO "$TEST_IMG" <<EOF | _filter_qemu_io length truncate $big_size length
Signature · 1 line
1.8.4.2
PATCH v2 2/2 qemu-iotests: Filter out 'qemu-io> ' prompt
In reply to Fam ZhengThis removes "qemu-io> " prompt from qemu-io output in _filter_qemu_io, and updates all the output files with the following command:
cd tests/qemu-iotests && sed -i "s/qemu-io> //g" *.out
---
This patch is snipped because the size would be rejected by list. See cover letter for the address to pull.
--- tests/qemu-iotests/013.out | 44080 ++++++++++++------------- tests/qemu-iotests/014.out | 64204 ++++++++++++++++++------------------- tests/qemu-iotests/017.out | 1080 +- tests/qemu-iotests/018.out | 1080 +- tests/qemu-iotests/019.out | 1636 +- tests/qemu-iotests/020.out | 1080 +- tests/qemu-iotests/022.out | 8816 ++--- tests/qemu-iotests/023.out | 26800 ++++++++-------- tests/qemu-iotests/024.out | 164 +- tests/qemu-iotests/025.out | 18 +- tests/qemu-iotests/028.out | 458 +- tests/qemu-iotests/032.out | 68 +- tests/qemu-iotests/035.out | 2 +- tests/qemu-iotests/037.out | 616 +- tests/qemu-iotests/038.out | 714 +- tests/qemu-iotests/046.out | 232 +- tests/qemu-iotests/047.out | 20 +- tests/qemu-iotests/048.out | 34 +- tests/qemu-iotests/common.filter | 3 +- 19 files changed, 75553 insertions(+), 75552 deletions(-)
[snip]
tests/qemu-iotests/common.filter +2 -1
@@ -149,7 +149,8 @@ _filter_win32() # sanitize qemu-io output _filter_qemu_io() { - _filter_win32 | sed -e "s/[0-9]* ops\; [0-9/:. sec]* ([0-9/.inf]* [EPTGMKiBbytes]*\/sec and [0-9/.inf]* ops\/sec)/X ops\; XX:XX:XX.X (XXX YYY\/sec and XXX ops\/sec)/" + _filter_win32 | sed -e "s/[0-9]* ops\; [0-9/:. sec]* ([0-9/.inf]* [EPTGMKiBbytes]*\/sec and [0-9/.inf]* ops\/sec)/X ops\; XX:XX:XX.X (XXX YYY\/sec and XXX ops\/sec)/" \ + -e "s/qemu-io> //g" } # replace occurrences of QEMU_PROG with "qemu"
Signature · 1 line
1.8.4.2
Re: [Qemu-devel] [PATCH v2 2/2] qemu-iotests: Filter out 'qemu-io> ' prompt
Quoted 9 lines · Fam Zheng
This removes "qemu-io> " prompt from qemu-io output in
_filter_qemu_io, and updates all the output files with the following command:cd tests/qemu-iotests && sed -i "s/qemu-io> //g" *.out
Signed-off-by Fam Zheng <[email protected]>---
This patch is snipped because the size would be rejected by list. See cover letter for the address to pull.
Thanks for the updated commit message; and I did indeed verify that the sed you listed gives the same results in my tree as the one I fetched from your cover letter.
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Quoted 25 lines · Fam Zheng
The second patch is too large as a mail, you can pull from:
https://github.com/famz/qemu.git 035-filter-qemu-iov2: Rebase to current master.
[01] Add Reviewed-by for Eric.
[02] Update comment to describe the command for mechanical substitution. (Eric)Fam Zheng (2):
qemu-iotests: Filter qemu-io output in 025
qemu-iotests: Filter out 'qemu-io> ' prompttests/qemu-iotests/013.out | 44080 ++++++++++++------------- tests/qemu-iotests/014.out | 64204 ++++++++++++++++++------------------- tests/qemu-iotests/017.out | 1080 +- tests/qemu-iotests/018.out | 1080 +- tests/qemu-iotests/019.out | 1636 +- tests/qemu-iotests/020.out | 1080 +- tests/qemu-iotests/022.out | 8816 ++--- tests/qemu-iotests/023.out | 26800 ++++++++-------- tests/qemu-iotests/024.out | 164 +- tests/qemu-iotests/025 | 2 +- tests/qemu-iotests/025.out | 18 +- tests/qemu-iotests/028.out | 458 +- tests/qemu-iotests/032.out | 68 +-
Quoted 9 lines
tests/qemu-iotests/035.out | 2 +- tests/qemu-iotests/037.out | 616 +- tests/qemu-iotests/038.out | 714 +- tests/qemu-iotests/046.out | 232 +- tests/qemu-iotests/047.out | 20 +- tests/qemu-iotests/048.out | 34 +- tests/qemu-iotests/common.filter | 3 +- 20 files changed, 75554 insertions(+), 75553 deletions(-)
Kevin, would you like to take this one?
Fam
Am 27.11.2013 um 03:01 hat Fam Zheng geschrieben:
Quoted 10 lines · Fam Zheng
Quoted 7 lines
The second patch is too large as a mail, you can pull from:
https://github.com/famz/qemu.git 035-filter-qemu-iov2: Rebase to current master.
[01] Add Reviewed-by for Eric.
[02] Update comment to describe the command for mechanical substitution. (Eric)Kevin, would you like to take this one?
I would, but this way it simply doesn't work.
The '035-filter-qemu-io' branch in your repo is something, but certainly not this series. It may be some early RFC where you only fixed one case. I then found the 'iotests-filter-qemu-io' (which is already not what you said) branch and I almost would have applied it, but I noticed it's not exactly the same as this series; I suppose it's version 1.
Eric reviewed _something_, but the two branches I found aren't what you sent, and he didn't specify the commit ID he reviewed, so I can't put his Reviewed-by tag anywhere, because I simply don't know what he looked at.
Fam, can you push the _current_ version somewhere and tell me the correct branch name and commit ID? Eric, can you then tell me if this newly pushed code matches what you reviewed?
Kevin
Quoted 20 lines · Kevin Wolf
Am 27.11.2013 um 03:01 hat Fam Zheng geschrieben:
Quoted 10 lines · Fam Zheng
Quoted 7 lines
The second patch is too large as a mail, you can pull from:
https://github.com/famz/qemu.git 035-filter-qemu-iov2: Rebase to current master.
[01] Add Reviewed-by for Eric.
[02] Update comment to describe the command for mechanical substitution. (Eric)Kevin, would you like to take this one?
I would, but this way it simply doesn't work.
The '035-filter-qemu-io' branch in your repo is something, but certainly not this series. It may be some early RFC where you only fixed one case. I then found the 'iotests-filter-qemu-io' (which is already not what you said) branch and I almost would have applied it, but I noticed it's not exactly the same as this series; I suppose it's version 1.
Quoted 8 lines
Eric reviewed _something_, but the two branches I found aren't what you sent, and he didn't specify the commit ID he reviewed, so I can't put his Reviewed-by tag anywhere, because I simply don't know what he looked at.
Fam, can you push the _current_ version somewhere and tell me the correct branch name and commit ID? Eric, can you then tell me if this newly pushed code matches what you reviewed?
Sorry, I've pushed again to:
https://github.com/famz/qemu.git for-kevin
Please fetch again.
Fam
Am 28.11.2013 um 15:34 hat Fam Zheng geschrieben:
Quoted 30 lines · Kevin Wolf
Quoted 20 lines
Am 27.11.2013 um 03:01 hat Fam Zheng geschrieben:
Quoted 10 lines · Fam Zheng
Quoted 7 lines
The second patch is too large as a mail, you can pull from:
https://github.com/famz/qemu.git 035-filter-qemu-iov2: Rebase to current master.
[01] Add Reviewed-by for Eric.
[02] Update comment to describe the command for mechanical substitution. (Eric)Kevin, would you like to take this one?
I would, but this way it simply doesn't work.
The '035-filter-qemu-io' branch in your repo is something, but certainly not this series. It may be some early RFC where you only fixed one case. I then found the 'iotests-filter-qemu-io' (which is already not what you said) branch and I almost would have applied it, but I noticed it's not exactly the same as this series; I suppose it's version 1.
Quoted 8 lines
Eric reviewed _something_, but the two branches I found aren't what you sent, and he didn't specify the commit ID he reviewed, so I can't put his Reviewed-by tag anywhere, because I simply don't know what he looked at.
Fam, can you push the _current_ version somewhere and tell me the correct branch name and commit ID? Eric, can you then tell me if this newly pushed code matches what you reviewed?
Quoted 5 lines
Sorry, I've pushed again to:
https://github.com/famz/qemu.git for-kevin
Please fetch again.
Thanks, cherry-picked the patches from that branch (commit ID of the top is 0974950e05137c7751ec1d3c5d1b0fa5387eead9). I didn't add Eric's Reviewed-by yet, but I'll do so when he confirms that this is what he checked.
Kevin
Eric Blake
Reviewed-byQuoted 16 lines · Kevin Wolf
Quoted 16 lines
Quoted 16 lines
Quoted 7 lines
Quoted 5 lines
https://github.com/famz/qemu.git 035-filter-qemu-iov2: Rebase to current master.
[01] Add Reviewed-by for Eric.
[02] Update comment to describe the command for mechanical substitution. (Eric)Kevin, would you like to take this one?
I would, but this way it simply doesn't work.
The '035-filter-qemu-io' branch in your repo is something, but certainly not this series. It may be some early RFC where you only fixed one case. I then found the 'iotests-filter-qemu-io' (which is already not what you said) branch and I almost would have applied it, but I noticed it's not exactly the same as this series; I suppose it's version 1.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Eric reviewed _something_, but the two branches I found aren't what you sent, and he didn't specify the commit ID he reviewed, so I can't put his Reviewed-by tag anywhere, because I simply don't know what he looked at.
And I've since lost track of which commit id I reviewed.
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Fam, can you push the _current_ version somewhere and tell me the correct branch name and commit ID? Eric, can you then tell me if this newly pushed code matches what you reviewed?
Sorry, I've pushed again to:
Quoted 8 lines
Quoted 3 lines
https://github.com/famz/qemu.git for-kevin
Please fetch again.
Thanks, cherry-picked the patches from that branch (commit ID of the top is
0974950e05137c7751ec1d3c5d1b0fa5387eead9). I didn't add Eric's Reviewed-by yet, but I'll do so when he confirms that this is what he checked.
I have now reviewed commit 0974950e05137c7751ec1d3c5d1b0fa5387eead9 in the same manner as before (manually followed the 'sed' instructions in the commit message and verified that the only differences remaining are the added filter). It appears that the only differences in this known commit id from whatever (now unknown) commit I first reviewed is thus limited to rebase differences. I'm happy with the commit, so feel free to (re-)add:
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
于2013年11月29日 星期五 01时57分42秒,Eric Blake写到:
Quoted 49 lines · Kevin Wolf
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Quoted 8 lines
Quoted 6 lines
https://github.com/famz/qemu.git 035-filter-qemu-iov2: Rebase to current master.
[01] Add Reviewed-by for Eric.
[02] Update comment to describe the command for mechanical substitution. (Eric)Kevin, would you like to take this one?
I would, but this way it simply doesn't work.
The '035-filter-qemu-io' branch in your repo is something, but certainly not this series. It may be some early RFC where you only fixed one case. I then found the 'iotests-filter-qemu-io' (which is already not what you said) branch and I almost would have applied it, but I noticed it's not exactly the same as this series; I suppose it's version 1.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Eric reviewed _something_, but the two branches I found aren't what you sent, and he didn't specify the commit ID he reviewed, so I can't put his Reviewed-by tag anywhere, because I simply don't know what he looked at.
And I've since lost track of which commit id I reviewed.
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Fam, can you push the _current_ version somewhere and tell me the correct branch name and commit ID? Eric, can you then tell me if this newly pushed code matches what you reviewed?
Sorry, I've pushed again to:
Quoted 8 lines
Quoted 3 lines
https://github.com/famz/qemu.git for-kevin
Please fetch again.
Thanks, cherry-picked the patches from that branch (commit ID of the top is
0974950e05137c7751ec1d3c5d1b0fa5387eead9). I didn't add Eric's Reviewed-by yet, but I'll do so when he confirms that this is what he checked.I have now reviewed commit
0974950e05137c7751ec1d3c5d1b0fa5387eead9in the same manner as before (manually followed the 'sed' instructions in the commit message and verified that the only differences remaining are the added filter). It appears that the only differences in this known commit id from whatever (now unknown) commit I first reviewed is thus limited to rebase differences. I'm happy with the commit, so feel free to (re-)add:
Quoted 2 lines
Reviewed-by Eric Blake <[email protected]>
Thanks Eric. I'm sorry for the trouble.
Fam
Am 28.11.2013 um 18:57 hat Eric Blake geschrieben:
Quoted 49 lines · Kevin Wolf
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Quoted 8 lines
Quoted 6 lines
https://github.com/famz/qemu.git 035-filter-qemu-iov2: Rebase to current master.
[01] Add Reviewed-by for Eric.
[02] Update comment to describe the command for mechanical substitution. (Eric)Kevin, would you like to take this one?
I would, but this way it simply doesn't work.
The '035-filter-qemu-io' branch in your repo is something, but certainly not this series. It may be some early RFC where you only fixed one case. I then found the 'iotests-filter-qemu-io' (which is already not what you said) branch and I almost would have applied it, but I noticed it's not exactly the same as this series; I suppose it's version 1.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Eric reviewed _something_, but the two branches I found aren't what you sent, and he didn't specify the commit ID he reviewed, so I can't put his Reviewed-by tag anywhere, because I simply don't know what he looked at.
And I've since lost track of which commit id I reviewed.
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Fam, can you push the _current_ version somewhere and tell me the correct branch name and commit ID? Eric, can you then tell me if this newly pushed code matches what you reviewed?
Sorry, I've pushed again to:
Quoted 8 lines
Quoted 3 lines
https://github.com/famz/qemu.git for-kevin
Please fetch again.
Thanks, cherry-picked the patches from that branch (commit ID of the top is
0974950e05137c7751ec1d3c5d1b0fa5387eead9). I didn't add Eric's Reviewed-by yet, but I'll do so when he confirms that this is what he checked.I have now reviewed commit
0974950e05137c7751ec1d3c5d1b0fa5387eead9in the same manner as before (manually followed the 'sed' instructions in the commit message and verified that the only differences remaining are the added filter). It appears that the only differences in this known commit id from whatever (now unknown) commit I first reviewed is thus limited to rebase differences. I'm happy with the commit, so feel free to (re-)add:
Quoted 1 line
Reviewed-by Eric Blake <[email protected]>
Thanks, Eric, I've added it back now.
Kevin
Quoted 20 lines · Kevin Wolf
Am 27.11.2013 um 03:01 hat Fam Zheng geschrieben:
Quoted 10 lines · Fam Zheng
Quoted 7 lines
The second patch is too large as a mail, you can pull from:
https://github.com/famz/qemu.git 035-filter-qemu-iov2: Rebase to current master.
[01] Add Reviewed-by for Eric.
[02] Update comment to describe the command for mechanical substitution. (Eric)Kevin, would you like to take this one?
I would, but this way it simply doesn't work.
The '035-filter-qemu-io' branch in your repo is something, but certainly not this series. It may be some early RFC where you only fixed one case. I then found the 'iotests-filter-qemu-io' (which is already not what you said) branch and I almost would have applied it, but I noticed it's not exactly the same as this series; I suppose it's version 1.
Quoted 8 lines
Eric reviewed _something_, but the two branches I found aren't what you sent, and he didn't specify the commit ID he reviewed, so I can't put his Reviewed-by tag anywhere, because I simply don't know what he looked at.
Fam, can you push the _current_ version somewhere and tell me the correct branch name and commit ID? Eric, can you then tell me if this newly pushed code matches what you reviewed?
Sorry, I've pushed again to:
https://github.com/famz/qemu.git for-kevin
Please fetch again, with commit ID f35df947046e54a7795d49fb87671f495cf8387a..f35df947046e54a7795d49fb87671f495cf8387a
Fam