diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2017-06-30 21:09:29 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2017-06-30 21:13:07 +0200 |
commit | 006a9eaada2744ca39b05aed7b7bf152524580be (patch) | |
tree | 21c5689c4918f0fcb7a2911fe688010accfe6383 | |
parent | 2ceb5a0abbbdc3753cfcaff76251d6477a9ea088 (diff) | |
download | lvm2-006a9eaada2744ca39b05aed7b7bf152524580be.tar.gz |
tests: aux.sh fix pattern
Commit 72a58ce4b0f68f6e45ae30606fe5af21caa42b43 fixed 'translation' of
pattern by bash by using "" - so we need to drop '\' here to get
wanted behavior.
-rw-r--r-- | test/lib/aux.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/aux.sh b/test/lib/aux.sh index ed969e26b..2eeb67fdd 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -1542,7 +1542,7 @@ wait_pvmove_lv_ready() { while : ; do test "$retries" -le 0 && die "Waiting for lvmpolld timed out" test -n "$lvid" || { - lvid=$(get lv_field "${1//-/\/}" vg_uuid,lv_uuid -a 2>/dev/null) + lvid=$(get lv_field "${1//-//}" vg_uuid,lv_uuid -a 2>/dev/null) lvid=${lvid//\ /} lvid=${lvid//-/} } |