summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilan Broz <gmazyland@gmail.com>2012-12-30 12:35:35 +0100
committerMilan Broz <gmazyland@gmail.com>2012-12-30 12:35:35 +0100
commit37d52bf01b54fcafe0799182f55c2e3d86faf80e (patch)
treec6369c042e15d05f10d56853115e0d220721ec52
parent46de69d0e671617705f8dcffac6bff15ce805c7a (diff)
downloadcryptsetup-37d52bf01b54fcafe0799182f55c2e3d86faf80e.tar.gz
cryptsetup-37d52bf01b54fcafe0799182f55c2e3d86faf80e.tar.bz2
cryptsetup-37d52bf01b54fcafe0799182f55c2e3d86faf80e.zip
Require lsblk for tcrypt test.
-rwxr-xr-xtests/tcrypt-compat-test2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tcrypt-compat-test b/tests/tcrypt-compat-test
index 71375ac..40632aa 100755
--- a/tests/tcrypt-compat-test
+++ b/tests/tcrypt-compat-test
@@ -37,6 +37,8 @@ function test_one()
function test_required()
{
+ which lsblk >/dev/null 2>&1 || skip "WARNING: lsblk tool required."
+
echo "REQUIRED KDF TEST"
$CRYPTSETUP benchmark -h ripemd160 | grep "N/A" && skip
$CRYPTSETUP benchmark -h whirlpool | grep "N/A" && skip