diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2022-09-06 16:44:24 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2022-09-07 14:58:01 +0200 |
commit | 15ad2b8e5585b89bc3f09a53567f17eb70f45714 (patch) | |
tree | 56b9cc16032cebf4a48491460a4a646a162a75fe /test/lib | |
parent | acbeaa7a8d86acc0f0e3c04723d066d995f29fe5 (diff) | |
download | lvm2-15ad2b8e5585b89bc3f09a53567f17eb70f45714.tar.gz |
tests: vdo emulation without vdo binary
Avoid inserting 'vdo' binary into path - and use
alias and VDO_BINARY shell vars for emulation.
Diffstat (limited to 'test/lib')
-rwxr-xr-x | test/lib/lvm_vdo_wrapper.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/lvm_vdo_wrapper.sh b/test/lib/lvm_vdo_wrapper.sh index d622d6456..90d0b2ce8 100755 --- a/test/lib/lvm_vdo_wrapper.sh +++ b/test/lib/lvm_vdo_wrapper.sh @@ -344,7 +344,7 @@ vdo_dry_ vdo_remove_ -f "$vdo_confFile" -n "$vdo_name" || true # # MAIN # -case "$1" in +case "${1-}" in "create") shift; vdo_create_ "$@" ;; "remove") shift; vdo_remove_ "$@" ;; "stop") shift; vdo_stop_ "$@" ;; |