1
0
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:
Benjamin Somers
2025-10-02 17:42:46 +00:00
parent 939ef4fa17
commit c05c0e2b89

View File

@@ -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