]> git.proxmox.com Git - grub2.git/blob - tests/nilfs2_test.in
usb: Avoid possible out-of-bound accesses caused by malicious devices
[grub2.git] / tests / nilfs2_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.nilfs2 >/dev/null 2>&1; then
14 echo "mkfs.nilfs2 not installed; cannot test nilfs2."
15 exit 77
16 fi
17
18 "@builddir@/grub-fs-tester" nilfs2