master - tests: initial vdo tests
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=c47655f23154c5483c6f097cdd1918deb9fe2f89 Commit: c47655f23154c5483c6f097cdd1918deb9fe2f89 Parent: faa126882a9cf2fb64dd143bb96414399e30edf2 Author: Zdenek Kabelac <[email protected]> AuthorDate: Sun Jun 24 20:06:59 2018 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon Jul 9 15:29:16 2018 +0200
tests: initial vdo tests
Basic functionality of lvcreate, lvchange.
--- test/lib/aux.sh | 8 +++ test/shell/lvchange-vdo.sh | 142 +++++++++++++++++++++++++++++++++++++++++++ test/shell/lvconvert-vdo.sh | 72 ++++++++++++++++++++++ test/shell/lvcreate-vdo.sh | 83 +++++++++++++++++++++++++ test/shell/profiles-vdo.sh | 50 +++++++++++++++ 5 files changed, 355 insertions(+), 0 deletions(-)
test/lib/aux.sh +8 -0
@@ -1552,6 +1552,14 @@ have_thin() { fi } +have_vdo() { + lvm segtypes 2>/dev/null | grep -q vdo$ || { + echo "VDO is not built-in." >&2 + return 1 + } + target_at_least dm-vdo "$@" +} + have_raid() { target_at_least dm-raid "$@"
test/shell/lvchange-vdo.sh new file +142 -0
142 lines not on this page · raw message
test/shell/lvconvert-vdo.sh new file +72 -0
72 lines not on this page · raw message
test/shell/lvcreate-vdo.sh new file +83 -0
83 lines not on this page · raw message
test/shell/profiles-vdo.sh new file +50 -0
50 lines not on this page · raw message