ieee1275: split up grub_machine_get_bootlocation
[grub.git] / tests / hfsplus_test.in
1 #!@BUILD_SHEBANG@
2
3 set -e
4
5 if [ "x$EUID" = "x" ] ; then
6   EUID=`id -u`
7 fi
8
9 if [ "$EUID" != 0 ] ; then
10    exit 77
11 fi
12
13 if ! which mkfs.hfsplus >/dev/null 2>&1; then
14    echo "mkfs.hfsplus not installed; cannot test hfsplus."
15    exit 77
16 fi
17
18 "@builddir@/grub-fs-tester" hfsplus
19 "@builddir@/grub-fs-tester" hfsplus_casesens
20 "@builddir@/grub-fs-tester" hfsplus_wrap