Skip to content

Commit

Permalink
Merge pull request #12245 from simondeziel/small-iso-workaround
Browse files Browse the repository at this point in the history
Small ISO workaround
  • Loading branch information
tomponline authored Sep 13, 2023
2 parents 9d97a60 + 97a768b commit f0a5c03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/suites/storage_local_volume_handling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ test_storage_local_volume_handling() {
! lxc storage volume get "lxdtest-$(basename "${LXD_DIR}")-${target_driver}" vol5/snapremove user.foo || false

# copy ISO custom volumes
truncate -s 8MiB foo.iso
truncate -s 25MiB foo.iso
lxc storage volume import "lxdtest-$(basename "${LXD_DIR}")-${source_driver}" ./foo.iso iso1
lxc storage volume copy "lxdtest-$(basename "${LXD_DIR}")-${source_driver}"/iso1 "lxdtest-$(basename "${LXD_DIR}")-${target_driver}"/iso1
lxc storage volume show "lxdtest-$(basename "${LXD_DIR}")-${target_driver}" iso1 | grep -q 'content_type: iso'
Expand Down
4 changes: 2 additions & 2 deletions test/suites/storage_volume_import.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
test_storage_volume_import() {
truncate -s 8MiB foo.iso
truncate -s 8MiB foo.img
truncate -s 25MiB foo.iso
truncate -s 25MiB foo.img

ensure_import_testimage

Expand Down

0 comments on commit f0a5c03

Please sign in to comment.