mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-08 16:54:49 +00:00
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>
8 lines
180 B
Plaintext
8 lines
180 B
Plaintext
nbdkit \
|
|
--unix /tmp/statedir-0/nbdkit-test-disk-0.socket \
|
|
--foreground \
|
|
--readonly curl \
|
|
protocols=https \
|
|
url=https://https.example.org:8443/path/to/disk1.qcow2 \
|
|
cookie=-777
|