Skip to content

Commit

Permalink
tests: Make shellcheck happy
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Oct 5, 2023
1 parent 1774481 commit f3be30b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/suites/storage_volume_initial_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@ test_storage_volume_initial_config() {
# Custom blocksize.
incus init "${image}" c --no-profiles --storage "${pool}" --device root,initial.zfs.blocksize=64KiB
[ "$(incus storage volume get "${pool}" container/c zfs.blocksize)" = "64KiB" ]
[ "$(zfs get volblocksize ${pool}/containers/c -H -o value)" = "64K" ]
[ "$(zfs get volblocksize "${pool}/containers/c" -H -o value)" = "64K" ]
incus delete c --force

# Custom blocksize that exceeds maximum allowed blocksize.
incus init "${image}" c --no-profiles --storage "${pool}" --device root,initial.zfs.blocksize=512KiB
[ "$(incus storage volume get "${pool}" container/c zfs.blocksize)" = "512KiB" ]
[ "$(zfs get volblocksize ${pool}/containers/c -H -o value)" = "128K" ]
[ "$(zfs get volblocksize "${pool}/containers/c" -H -o value)" = "128K" ]
incus delete c --force
fi

Expand Down

0 comments on commit f3be30b

Please sign in to comment.