]> git.ipfire.org Git - thirdparty/qemu.git/commit
block/rbd: add iotest for rbd legacy keyvalue filename parsing
authorJeff Cody <jcody@redhat.com>
Tue, 11 Sep 2018 22:32:32 +0000 (18:32 -0400)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 27 Mar 2019 05:39:12 +0000 (00:39 -0500)
commit5b2f6925e0a5544dfc6d54d1b65d575c968c003c
tree2bd69f8ea48fb3172ac0e34c21add411afcbc39b
parent0bc2dc73573175920aba61c0358a42b8e77c0973
block/rbd: add iotest for rbd legacy keyvalue filename parsing

This is a small test that will check for the ability to parse
both legacy and modern options for rbd.

The way the test is set up is for failure to occur, but without
having to wait to timeout on a non-existent rbd server.  The error
messages in the success path show that the arguments were parsed.

The failure behavior prior to the patch series that has this test, is
qemu-img complaining about mandatory options (e.g. 'pool') not being
provided.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Message-id: f830580e339b974a83ed4870d11adcdc17f49a47.1536704901.git.jcody@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
(cherry picked from commit 66e6a735e97450ac50fcaf40f78600c688534cae)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/qemu-iotests/231 [new file with mode: 0755]
tests/qemu-iotests/231.out [new file with mode: 0644]
tests/qemu-iotests/group