]> sourceware.org Git - lvm2.git/commit
tests: cleanup some shellcheck warns
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 9 Feb 2023 15:04:54 +0000 (16:04 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 10 Feb 2023 16:50:27 +0000 (17:50 +0100)
commit773bc013778df631f9ee14e7a79d5f02211b1e67
tree7952720e7c5b17164fe7ad95937c498f00f74120
parentcc2293f18ed14f4b306c7e5b92e508a6981b4826
tests: cleanup some shellcheck warns

Reduce shellcheck warnings about missing {} for possible array
dereference.

Make sure we are not loosing error code when assigning local vars
and explicitely ignore 'errors' from standalone lines when needed.

Add some missing quotes.

Use $() instead of ancient ``

Avoid writing some temporary data into /tmp - test need to store
files within its own 'testdir' - so it can be properly discarded.
scripts/lvm_import_vdo.sh
test/lib/aux.sh
test/lib/get.sh
test/lib/lvm_vdo_wrapper.sh
This page took 0.040808 seconds and 5 git commands to generate.