mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: passthrough args with extend_filter_LVMTEST
Don't rebuild config twice.
This commit is contained in:
parent
89f34eaf0c
commit
f865e1bf87
@ -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() {
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user