* [Qemu-devel] [PATCH 0/2] iotests: trivial fixups
@ 2017-04-27 20:50 John Snow
2017-04-27 20:50 ` [Qemu-devel] [PATCH 1/2] iotests: clarify help text John Snow
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: John Snow @ 2017-04-27 20:50 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, kwolf, eblake, mreitz, John Snow
Excised from an old patchset from 2015, just a couple of touchups.
John Snow (2):
iotests: clarify help text
iotests: fix exclusion option
tests/qemu-iotests/common | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
--
2.9.3
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] [PATCH 1/2] iotests: clarify help text
2017-04-27 20:50 [Qemu-devel] [PATCH 0/2] iotests: trivial fixups John Snow
@ 2017-04-27 20:50 ` John Snow
2017-04-27 20:51 ` [Qemu-devel] [PATCH 2/2] iotests: fix exclusion option John Snow
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: John Snow @ 2017-04-27 20:50 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, kwolf, eblake, mreitz, John Snow
Split the help text to highlight the groups of options
a little better, carving out a clear "format" and
"protocols" section.
Signed-off-by: John Snow <jsnow@redhat.com>
---
tests/qemu-iotests/common | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/tests/qemu-iotests/common b/tests/qemu-iotests/common
index 9c6f972..fa8e69e 100644
--- a/tests/qemu-iotests/common
+++ b/tests/qemu-iotests/common
@@ -138,7 +138,7 @@ common options
-v verbose
-d debug
-check options
+image format options
-raw test raw (default)
-bochs test bochs
-cloop test cloop
@@ -150,14 +150,18 @@ check options
-vpc test vpc
-vhdx test vhdx
-vmdk test vmdk
+ -luks test luks
+
+image protocol options
-file test file (default)
-rbd test rbd
-sheepdog test sheepdog
-nbd test nbd
-ssh test ssh
-nfs test nfs
- -luks test luks
-vxhs test vxhs
+
+other options
-xdiff graphical mode diff
-nocache use O_DIRECT on backing file
-misalign misalign memory allocations
--
2.9.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Qemu-devel] [PATCH 2/2] iotests: fix exclusion option
2017-04-27 20:50 [Qemu-devel] [PATCH 0/2] iotests: trivial fixups John Snow
2017-04-27 20:50 ` [Qemu-devel] [PATCH 1/2] iotests: clarify help text John Snow
@ 2017-04-27 20:51 ` John Snow
2017-04-27 21:30 ` [Qemu-devel] [PATCH 0/2] iotests: trivial fixups Eric Blake
2017-04-28 16:43 ` Max Reitz
3 siblings, 0 replies; 5+ messages in thread
From: John Snow @ 2017-04-27 20:51 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, kwolf, eblake, mreitz, John Snow
If you are running out-of-tree, the -x option to exclude
a certain iotest is broken.
Replace porcelain usage of ls with a sturdier awk command.
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
---
tests/qemu-iotests/common | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/common b/tests/qemu-iotests/common
index fa8e69e..f2a7199 100644
--- a/tests/qemu-iotests/common
+++ b/tests/qemu-iotests/common
@@ -86,7 +86,8 @@ s/ .*//p
elif $xgroup
then
# arg after -x
- [ ! -s $tmp.list ] && ls [0-9][0-9][0-9] [0-9][0-9][0-9][0-9] >$tmp.list 2>/dev/null
+ # Populate $tmp.list with all tests
+ awk '/^[0-9]{3,}/ {print $1}' "${source_iotests}/group" > $tmp.list 2>/dev/null
group_list=`sed -n <"$source_iotests/group" -e 's/$/ /' -e "/^[0-9][0-9][0-9].* $r /"'{
s/ .*//p
}'`
--
2.9.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH 0/2] iotests: trivial fixups
2017-04-27 20:50 [Qemu-devel] [PATCH 0/2] iotests: trivial fixups John Snow
2017-04-27 20:50 ` [Qemu-devel] [PATCH 1/2] iotests: clarify help text John Snow
2017-04-27 20:51 ` [Qemu-devel] [PATCH 2/2] iotests: fix exclusion option John Snow
@ 2017-04-27 21:30 ` Eric Blake
2017-04-28 16:43 ` Max Reitz
3 siblings, 0 replies; 5+ messages in thread
From: Eric Blake @ 2017-04-27 21:30 UTC (permalink / raw)
To: John Snow, qemu-devel; +Cc: qemu-trivial, kwolf, mreitz
[-- Attachment #1: Type: text/plain, Size: 500 bytes --]
On 04/27/2017 03:50 PM, John Snow wrote:
> Excised from an old patchset from 2015, just a couple of touchups.
>
> John Snow (2):
> iotests: clarify help text
> iotests: fix exclusion option
Reviewed-by: Eric Blake <eblake@redhat.com>
[eww - we were really using 'ls' instead of 'echo' to expand a glob?
Your patch to switch to 'awk' is indeed nicer]
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH 0/2] iotests: trivial fixups
2017-04-27 20:50 [Qemu-devel] [PATCH 0/2] iotests: trivial fixups John Snow
` (2 preceding siblings ...)
2017-04-27 21:30 ` [Qemu-devel] [PATCH 0/2] iotests: trivial fixups Eric Blake
@ 2017-04-28 16:43 ` Max Reitz
3 siblings, 0 replies; 5+ messages in thread
From: Max Reitz @ 2017-04-28 16:43 UTC (permalink / raw)
To: John Snow, qemu-devel; +Cc: qemu-trivial, kwolf, eblake
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
On 27.04.2017 22:50, John Snow wrote:
> Excised from an old patchset from 2015, just a couple of touchups.
>
> John Snow (2):
> iotests: clarify help text
> iotests: fix exclusion option
>
> tests/qemu-iotests/common | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
Thanks, applied to my block tree:
https://github.com/XanClic/qemu/commits/block
Max
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 512 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-04-28 16:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-27 20:50 [Qemu-devel] [PATCH 0/2] iotests: trivial fixups John Snow
2017-04-27 20:50 ` [Qemu-devel] [PATCH 1/2] iotests: clarify help text John Snow
2017-04-27 20:51 ` [Qemu-devel] [PATCH 2/2] iotests: fix exclusion option John Snow
2017-04-27 21:30 ` [Qemu-devel] [PATCH 0/2] iotests: trivial fixups Eric Blake
2017-04-28 16:43 ` Max Reitz
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).