mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: aux have_writecache
function was never defined, causing writecache.sh to be skipped
This commit is contained in:
parent
7eaa3adedf
commit
208a09745d
@ -1478,6 +1478,14 @@ have_vdo() {
|
||||
target_at_least dm-vdo "$@"
|
||||
}
|
||||
|
||||
have_writecache() {
|
||||
lvm segtypes 2>/dev/null | grep -q writecache$ || {
|
||||
echo "writecache is not built-in." >&2
|
||||
return 1
|
||||
}
|
||||
target_at_least dm-writecache "$@"
|
||||
}
|
||||
|
||||
have_raid() {
|
||||
target_at_least dm-raid "$@"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user