block/rbd: add iotest for rbd legacy keyvalue filename parsing
commit66e6a735e97450ac50fcaf40f78600c688534cae
authorJeff Cody <jcody@redhat.com>
Tue, 11 Sep 2018 22:32:32 +0000 (11 18:32 -0400)
committerJeff Cody <jcody@redhat.com>
Tue, 25 Sep 2018 03:46:05 +0000 (24 23:46 -0400)
treed977b4a606343c9fab28b9243ea7e6695f89b2e4
parent084d1d13bdb753d558b991996e7686c077bd6d80
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>
tests/qemu-iotests/231 [new file with mode: 0755]
tests/qemu-iotests/231.out [new file with mode: 0644]
tests/qemu-iotests/group