mirror of
https://github.com/lxc/incus.git
synced 2026-02-05 09:46:19 +01:00
test: Incus now allows ISO export
Signed-off-by: Benjamin Somers <benjamin.somers@imt-atlantique.fr>
This commit is contained in:
@@ -26,8 +26,9 @@ test_storage_volume_import() {
|
||||
# snapshots are disabled for ISO storage volumes
|
||||
! incus storage volume snapshot create "incustest-$(basename "${INCUS_DIR}")" foo || false
|
||||
|
||||
# backups are disabled for ISO storage volumes
|
||||
! incus storage volume export "incustest-$(basename "${INCUS_DIR}")" foo || false
|
||||
# exporting an ISO storage volume returns the ISO file unchanged
|
||||
incus storage volume export "incustest-$(basename "${INCUS_DIR}")" foo foo.new.iso
|
||||
cmp -s foo.iso foo.new.iso || false
|
||||
|
||||
# cannot attach ISO storage volumes to containers
|
||||
incus init testimage c1
|
||||
|
||||
Reference in New Issue
Block a user