Require lsblk for tcrypt test.
authorMilan Broz <gmazyland@gmail.com>
Sun, 30 Dec 2012 11:35:35 +0000 (12:35 +0100)
committerMilan Broz <gmazyland@gmail.com>
Sun, 30 Dec 2012 11:35:35 +0000 (12:35 +0100)
tests/tcrypt-compat-test

index 71375ac..40632aa 100755 (executable)
@@ -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