grub2: bring back build of aros-side grub2 tools
[AROS.git] / arch / all-pc / boot / grub2-aros / tests / fat_test.in
blob1d132b51703c43e269d5500ca1740fa1e6b9a42c
1 #!/bin/sh
3 set -e
5 if [ "x$EUID" = "x" ] ; then
6 EUID=`id -u`
7 fi
9 if [ "$EUID" != 0 ] ; then
10 exit 77
13 if ! which mkfs.vfat >/dev/null 2>&1; then
14 echo "mkfs.vfat not installed; cannot test FAT."
15 exit 77
18 "@builddir@/grub-fs-tester" vfat16a
19 "@builddir@/grub-fs-tester" vfat12a
20 "@builddir@/grub-fs-tester" vfat12
21 "@builddir@/grub-fs-tester" vfat16
22 "@builddir@/grub-fs-tester" vfat32