2017-01-22 17:22:34 +00:00
|
|
|
#!@BUILD_SHEBANG@
|
2013-11-19 20:05:59 +00:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
if [ "x$EUID" = "x" ] ; then
|
|
|
|
EUID=`id -u`
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$EUID" != 0 ] ; then
|
|
|
|
exit 77
|
|
|
|
fi
|
|
|
|
|
|
|
|
if ! which mkfs.ext2 >/dev/null 2>&1; then
|
|
|
|
echo "mkfs.ext2 not installed; cannot test ext2."
|
|
|
|
exit 77
|
|
|
|
fi
|
|
|
|
|
|
|
|
if ! which mkfs.ext3 >/dev/null 2>&1; then
|
|
|
|
echo "mkfs.ext3 not installed; cannot test ext3."
|
|
|
|
exit 77
|
|
|
|
fi
|
|
|
|
|
|
|
|
if ! which mkfs.ext4 >/dev/null 2>&1; then
|
|
|
|
echo "mkfs.ext4 not installed; cannot test ext4."
|
|
|
|
exit 77
|
|
|
|
fi
|
|
|
|
|
|
|
|
"@builddir@/grub-fs-tester" ext2_old
|
|
|
|
"@builddir@/grub-fs-tester" ext2
|
|
|
|
"@builddir@/grub-fs-tester" ext3
|
|
|
|
"@builddir@/grub-fs-tester" ext4
|
2015-02-16 19:53:26 +00:00
|
|
|
"@builddir@/grub-fs-tester" ext4_metabg
|
2017-06-29 13:27:49 +00:00
|
|
|
"@builddir@/grub-fs-tester" ext4_encrypt
|