master - tests: passthrough args with extend_filter_LVMTEST
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=f865e1bf87b474a0795e5b38456ebbeef406351c Commit: f865e1bf87b474a0795e5b38456ebbeef406351c Parent: 89f34eaf0cc2d3916f9aa640e3a660c6c18fd3b8 Author: Zdenek Kabelac <[email protected]> AuthorDate: Thu May 24 11:12:17 2018 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Thu May 24 11:22:59 2018 +0200
tests: passthrough args with extend_filter_LVMTEST
Don't rebuild config twice.
--- test/lib/aux.sh | 2 +- test/shell/lvmetad-pvscan-md.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)
test/lib/aux.sh +1 -1
@@ -1175,7 +1175,7 @@ extend_filter() { } extend_filter_LVMTEST() { - extend_filter "a|$DM_DEV_DIR/$PREFIX|" + extend_filter "a|$DM_DEV_DIR/$PREFIX|" "$@" } hide_dev() {
test/shell/lvmetad-pvscan-md.sh +1 -2
@@ -25,8 +25,7 @@ aux prepare_devs 2 aux prepare_md_dev 0 64 2 "$dev1" "$dev2" aux lvmconf 'devices/md_component_detection = 1' -aux extend_filter_LVMTEST -aux extend_filter "a|/dev/md.*|" +aux extend_filter_LVMTEST "a|/dev/md|" pvdev=$(< MD_DEV_PV)