1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-26 03:21:44 +03:00
libvirt/tests/qemunbdkitdata/disk-network-source-curl.args.disk4
Jonathon Jongsma e7a9a2ae62 tests: add tests for nbdkit invocation
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>
2023-09-19 14:28:50 -05:00

7 lines
159 B
Plaintext

nbdkit \
--unix /tmp/statedir-4/nbdkit-test-disk-4.socket \
--foreground \
--readonly curl \
protocols=ftps \
url=ftps://ftps.example.org:22/path/to/disk4.iso