mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
e7a9a2ae62
We were testing the arguments that were being passed to qemu when a disk was being served by nbdkit, but the arguments used to start nbdkit itself were not testable. This adds a test to ensure that we're invoking nbdkit correctly for various disk source definitions. Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
7 lines
155 B
Plaintext
7 lines
155 B
Plaintext
nbdkit \
|
|
--unix /tmp/statedir-2/nbdkit-test-disk-2.socket \
|
|
--foreground curl \
|
|
protocols=http,https \
|
|
url=http://example.org:1234/test3.img \
|
|
cookie=-777
|