]> git.proxmox.com Git - grub2.git/blame - tests/hfsplus_test.in
usb: Avoid possible out-of-bound accesses caused by malicious devices
[grub2.git] / tests / hfsplus_test.in
CommitLineData
a827807a 1#!@BUILD_SHEBANG@
7d44ff7d
VS
2
3set -e
4
5if [ "x$EUID" = "x" ] ; then
6 EUID=`id -u`
7fi
8
9if [ "$EUID" != 0 ] ; then
10 exit 77
11fi
12
13if ! which mkfs.hfsplus >/dev/null 2>&1; then
14 echo "mkfs.hfsplus not installed; cannot test hfsplus."
15 exit 77
16fi
17
18"@builddir@/grub-fs-tester" hfsplus
19"@builddir@/grub-fs-tester" hfsplus_casesens
20"@builddir@/grub-fs-tester" hfsplus_wrap