tpm2_key_protector: Enable build for powerpc_ieee1275
[grub.git] / tests / luks2_test.in
blob6a26ba6266c05aee57adc43564f2fdaf816e1e30
1 #!@BUILD_SHEBANG@
3 set -e
5 if [ "x$EUID" = "x" ] ; then
6   EUID=`id -u`
7 fi
9 if [ "$EUID" != 0 ] ; then
10    exit 99
13 if ! which mkfs.ext2 >/dev/null 2>&1; then
14    echo "mkfs.ext2 not installed; cannot test luks2."
15    exit 99
18 if ! which cryptsetup >/dev/null 2>&1; then
19    echo "cryptsetup not installed; cannot test luks2."
20    exit 99
23 "@builddir@/grub-fs-tester" luks2