All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] qemu-iotests fixes
@ 2018-03-09 10:41 Amador Pahim
  2018-03-09 10:41 ` [Qemu-devel] [PATCH 1/2] qemu-iotests: skip test 205 for unsupported formats Amador Pahim
  2018-03-09 10:41 ` [Qemu-devel] [PATCH 2/2] qemu-iotests: set exec permission for tests lacking it Amador Pahim
  0 siblings, 2 replies; 5+ messages in thread
From: Amador Pahim @ 2018-03-09 10:41 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, qemu-block, mreitz, Amador Pahim

- Skipping test 205 for unsupported formats.
- Setting execution permission on test files.

Amador Pahim (2):
  qemu-iotests: skip test 205 for unsupported formats
  qemu-iotests: set exec permission for tests lacking it

 tests/qemu-iotests/096 | 0
 tests/qemu-iotests/124 | 0
 tests/qemu-iotests/129 | 0
 tests/qemu-iotests/132 | 0
 tests/qemu-iotests/136 | 0
 tests/qemu-iotests/139 | 0
 tests/qemu-iotests/148 | 0
 tests/qemu-iotests/152 | 0
 tests/qemu-iotests/163 | 0
 tests/qemu-iotests/205 | 3 +++
 10 files changed, 3 insertions(+)
 mode change 100644 => 100755 tests/qemu-iotests/096
 mode change 100644 => 100755 tests/qemu-iotests/124
 mode change 100644 => 100755 tests/qemu-iotests/129
 mode change 100644 => 100755 tests/qemu-iotests/132
 mode change 100644 => 100755 tests/qemu-iotests/136
 mode change 100644 => 100755 tests/qemu-iotests/139
 mode change 100644 => 100755 tests/qemu-iotests/148
 mode change 100644 => 100755 tests/qemu-iotests/152
 mode change 100644 => 100755 tests/qemu-iotests/163
 mode change 100644 => 100755 tests/qemu-iotests/205

-- 
2.14.3

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [PATCH 1/2] qemu-iotests: skip test 205 for unsupported formats
  2018-03-09 10:41 [Qemu-devel] [PATCH 0/2] qemu-iotests fixes Amador Pahim
@ 2018-03-09 10:41 ` Amador Pahim
  2018-03-09 15:01   ` [Qemu-devel] [Qemu-block] " Eric Blake
  2018-03-09 10:41 ` [Qemu-devel] [PATCH 2/2] qemu-iotests: set exec permission for tests lacking it Amador Pahim
  1 sibling, 1 reply; 5+ messages in thread
From: Amador Pahim @ 2018-03-09 10:41 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, qemu-block, mreitz, Amador Pahim

Using bochs or cloop, qemu-img will fail with:

  Format driver 'bochs' does not support image creation

Signed-off-by: Amador Pahim <apahim@redhat.com>
---
 tests/qemu-iotests/205 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/qemu-iotests/205 b/tests/qemu-iotests/205
index e7b2eae51d..fff9be97d2 100644
--- a/tests/qemu-iotests/205
+++ b/tests/qemu-iotests/205
@@ -24,6 +24,9 @@ import iotests
 import time
 from iotests import qemu_img_create, qemu_io, filter_qemu_io, QemuIoInteractive
 
+
+iotests.verify_image_format(unsupported_fmts=['bochs', 'cloop'])
+
 nbd_sock = 'nbd_sock'
 nbd_uri = 'nbd+unix:///exp?socket=' + nbd_sock
 disk = os.path.join(iotests.test_dir, 'disk')
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Qemu-devel] [PATCH 2/2] qemu-iotests: set exec permission for tests lacking it
  2018-03-09 10:41 [Qemu-devel] [PATCH 0/2] qemu-iotests fixes Amador Pahim
  2018-03-09 10:41 ` [Qemu-devel] [PATCH 1/2] qemu-iotests: skip test 205 for unsupported formats Amador Pahim
@ 2018-03-09 10:41 ` Amador Pahim
  2018-03-09 15:02   ` Eric Blake
  1 sibling, 1 reply; 5+ messages in thread
From: Amador Pahim @ 2018-03-09 10:41 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, qemu-block, mreitz, Amador Pahim

Some tests are not executables. This patch sets the executable
permission for those tests lacking that.

Signed-off-by: Amador Pahim <apahim@redhat.com>
---
 tests/qemu-iotests/096 | 0
 tests/qemu-iotests/124 | 0
 tests/qemu-iotests/129 | 0
 tests/qemu-iotests/132 | 0
 tests/qemu-iotests/136 | 0
 tests/qemu-iotests/139 | 0
 tests/qemu-iotests/148 | 0
 tests/qemu-iotests/152 | 0
 tests/qemu-iotests/163 | 0
 tests/qemu-iotests/205 | 0
 10 files changed, 0 insertions(+), 0 deletions(-)
 mode change 100644 => 100755 tests/qemu-iotests/096
 mode change 100644 => 100755 tests/qemu-iotests/124
 mode change 100644 => 100755 tests/qemu-iotests/129
 mode change 100644 => 100755 tests/qemu-iotests/132
 mode change 100644 => 100755 tests/qemu-iotests/136
 mode change 100644 => 100755 tests/qemu-iotests/139
 mode change 100644 => 100755 tests/qemu-iotests/148
 mode change 100644 => 100755 tests/qemu-iotests/152
 mode change 100644 => 100755 tests/qemu-iotests/163
 mode change 100644 => 100755 tests/qemu-iotests/205

diff --git a/tests/qemu-iotests/096 b/tests/qemu-iotests/096
old mode 100644
new mode 100755
diff --git a/tests/qemu-iotests/124 b/tests/qemu-iotests/124
old mode 100644
new mode 100755
diff --git a/tests/qemu-iotests/129 b/tests/qemu-iotests/129
old mode 100644
new mode 100755
diff --git a/tests/qemu-iotests/132 b/tests/qemu-iotests/132
old mode 100644
new mode 100755
diff --git a/tests/qemu-iotests/136 b/tests/qemu-iotests/136
old mode 100644
new mode 100755
diff --git a/tests/qemu-iotests/139 b/tests/qemu-iotests/139
old mode 100644
new mode 100755
diff --git a/tests/qemu-iotests/148 b/tests/qemu-iotests/148
old mode 100644
new mode 100755
diff --git a/tests/qemu-iotests/152 b/tests/qemu-iotests/152
old mode 100644
new mode 100755
diff --git a/tests/qemu-iotests/163 b/tests/qemu-iotests/163
old mode 100644
new mode 100755
diff --git a/tests/qemu-iotests/205 b/tests/qemu-iotests/205
old mode 100644
new mode 100755
-- 
2.14.3

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [Qemu-block] [PATCH 1/2] qemu-iotests: skip test 205 for unsupported formats
  2018-03-09 10:41 ` [Qemu-devel] [PATCH 1/2] qemu-iotests: skip test 205 for unsupported formats Amador Pahim
@ 2018-03-09 15:01   ` Eric Blake
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Blake @ 2018-03-09 15:01 UTC (permalink / raw)
  To: Amador Pahim, qemu-devel; +Cc: kwolf, qemu-block, mreitz

On 03/09/2018 04:41 AM, Amador Pahim wrote:
> Using bochs or cloop, qemu-img will fail with:
> 
>    Format driver 'bochs' does not support image creation
> 
> Signed-off-by: Amador Pahim <apahim@redhat.com>
> ---
>   tests/qemu-iotests/205 | 3 +++
>   1 file changed, 3 insertions(+)

Reviewed-by: Eric Blake <eblake@redhat.com>

> 
> diff --git a/tests/qemu-iotests/205 b/tests/qemu-iotests/205
> index e7b2eae51d..fff9be97d2 100644
> --- a/tests/qemu-iotests/205
> +++ b/tests/qemu-iotests/205
> @@ -24,6 +24,9 @@ import iotests
>   import time
>   from iotests import qemu_img_create, qemu_io, filter_qemu_io, QemuIoInteractive
>   
> +
> +iotests.verify_image_format(unsupported_fmts=['bochs', 'cloop'])
> +
>   nbd_sock = 'nbd_sock'
>   nbd_uri = 'nbd+unix:///exp?socket=' + nbd_sock
>   disk = os.path.join(iotests.test_dir, 'disk')
> 

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH 2/2] qemu-iotests: set exec permission for tests lacking it
  2018-03-09 10:41 ` [Qemu-devel] [PATCH 2/2] qemu-iotests: set exec permission for tests lacking it Amador Pahim
@ 2018-03-09 15:02   ` Eric Blake
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Blake @ 2018-03-09 15:02 UTC (permalink / raw)
  To: Amador Pahim, qemu-devel; +Cc: kwolf, qemu-block, mreitz

On 03/09/2018 04:41 AM, Amador Pahim wrote:
> Some tests are not executables. This patch sets the executable
> permission for those tests lacking that.
> 
> Signed-off-by: Amador Pahim <apahim@redhat.com>
> ---

Duplicate of a patch already on Max's tree:
https://lists.gnu.org/archive/html/qemu-devel/2018-03/msg01167.html

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-03-09 15:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-09 10:41 [Qemu-devel] [PATCH 0/2] qemu-iotests fixes Amador Pahim
2018-03-09 10:41 ` [Qemu-devel] [PATCH 1/2] qemu-iotests: skip test 205 for unsupported formats Amador Pahim
2018-03-09 15:01   ` [Qemu-devel] [Qemu-block] " Eric Blake
2018-03-09 10:41 ` [Qemu-devel] [PATCH 2/2] qemu-iotests: set exec permission for tests lacking it Amador Pahim
2018-03-09 15:02   ` Eric Blake

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.