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.btrfs >/dev/null 2>&1; then
|
|
|
|
echo "mkfs.btrfs not installed; cannot test btrfs."
|
|
|
|
exit 77
|
|
|
|
fi
|
|
|
|
|
|
|
|
"@builddir@/grub-fs-tester" btrfs
|
|
|
|
"@builddir@/grub-fs-tester" btrfs_zlib
|
|
|
|
"@builddir@/grub-fs-tester" btrfs_lzo
|
2018-11-19 19:20:08 +00:00
|
|
|
"@builddir@/grub-fs-tester" btrfs_zstd
|
2013-11-19 20:05:59 +00:00
|
|
|
"@builddir@/grub-fs-tester" btrfs_raid0
|
|
|
|
"@builddir@/grub-fs-tester" btrfs_raid1
|
|
|
|
"@builddir@/grub-fs-tester" btrfs_single
|
|
|
|
"@builddir@/grub-fs-tester" btrfs_raid10
|