#!@BUILD_SHEBANG@

set -e

if [ "x$EUID" = "x" ] ; then
  EUID=`id -u`
fi

if [ "$EUID" != 0 ] ; then
   exit 99
fi

if ! which mkudffs >/dev/null 2>&1; then
   echo "mkudffs not installed; cannot test UDF."
   exit 99
fi

"@builddir@/grub-fs-tester" udf

