generic/459: explicitly require thin_check

The lvm command can invoke the thin pool utilities as part of
managing a thin volume. It'll fail if the thin provisioning
utilities are not installed, so we need to check for its presence
before running a test.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Darrick J. Wong
2017-11-01 14:47:11 -07:00
committed by Eryu Guan
parent 230efa52a4
commit a9006d7c62
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -63,6 +63,7 @@ _supported_os Linux
_require_scratch_nocheck
_require_dm_target thin-pool
_require_command $LVM_PROG lvm
_require_command "$THIN_CHECK_PROG" thin_check
_require_freeze
# remove previous $seqres.full before test