From f3be30baaea83fb333fa03dc750d16d4d5b6af4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Thu, 5 Oct 2023 00:37:14 -0400 Subject: [PATCH] tests: Make shellcheck happy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- test/suites/storage_volume_initial_config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/suites/storage_volume_initial_config.sh b/test/suites/storage_volume_initial_config.sh index 2d9c2d4a840..0269c2935cc 100644 --- a/test/suites/storage_volume_initial_config.sh +++ b/test/suites/storage_volume_initial_config.sh @@ -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