master - tests: check for thin tools
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=95f0e25601155755baf4ea1649cd241949120185 Commit: 95f0e25601155755baf4ea1649cd241949120185 Parent: 673d4f745322d6d9ca274697148267114058beec Author: Zdenek Kabelac <[email protected]> AuthorDate: Thu May 5 23:14:38 2016 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Thu May 5 23:55:20 2016 +0200
tests: check for thin tools
Test needs repair utils to be available.
--- test/shell/lvconvert-repair-thin-raid.sh | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)
test/shell/lvconvert-repair-thin-raid.sh +9 -0
@@ -21,6 +21,15 @@ aux have_thin 1 0 0 || skip aux have_raid 1 4 0 || skip # +# To continue this test - we need real tools available +# When they are not present mark test as skipped, but still +# let proceed initial part which should work even without tools +# +aux have_tool_at_least "$LVM_TEST_THIN_CHECK_CMD" 0 3 1 || skip +aux have_tool_at_least "$LVM_TEST_THIN_DUMP_CMD" 0 3 1 || skip +aux have_tool_at_least "$LVM_TEST_THIN_REPAIR_CMD" 0 3 1 || skip + +# # Main #