diff options
author | Ed Santiago <santiago@redhat.com> | 2022-09-15 16:18:46 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2022-09-15 20:10:34 -0600 |
commit | cfbc4aaeb50b5fb12ec9363328bb08fc459a1067 (patch) | |
tree | e396257e102a885561638fe6702d6c0a6e917743 /test/system/160-volumes.bats | |
parent | 750726e62c13941a739ef70040a1ec0d745cdb43 (diff) | |
download | podman-cfbc4aaeb50b5fb12ec9363328bb08fc459a1067.tar.gz podman-cfbc4aaeb50b5fb12ec9363328bb08fc459a1067.tar.bz2 podman-cfbc4aaeb50b5fb12ec9363328bb08fc459a1067.zip |
Cleanup: fix problems reported by shell lint
Followup to #15616, which is not usable as it is (way, way, way
too much noise) but actually found a few real nits that should
be fixed.
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/system/160-volumes.bats')
-rw-r--r-- | test/system/160-volumes.bats | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/system/160-volumes.bats b/test/system/160-volumes.bats index 6829c6a78..08baaf468 100644 --- a/test/system/160-volumes.bats +++ b/test/system/160-volumes.bats @@ -315,11 +315,11 @@ EOF # List available volumes for pruning after using 1,2,3 run_podman volume prune <<< N - is "$(echo $(sort <<<${lines[@]:1:3}))" "${v[4]} ${v[5]} ${v[6]}" "volume prune, with 1,2,3 in use, lists 4,5,6" + is "$(echo $(sort <<<${lines[*]:1:3}))" "${v[4]} ${v[5]} ${v[6]}" "volume prune, with 1,2,3 in use, lists 4,5,6" # List available volumes for pruning after using 1,2,3 and filtering; see #8913 run_podman volume prune --filter label=mylabel <<< N - is "$(echo $(sort <<<${lines[@]:1:2}))" "${v[5]} ${v[6]}" "volume prune, with 1,2,3 in use and 4 filtered out, lists 5,6" + is "$(echo $(sort <<<${lines[*]:1:2}))" "${v[5]} ${v[6]}" "volume prune, with 1,2,3 in use and 4 filtered out, lists 5,6" # prune should remove v4 run_podman volume prune --force |