mirror of
https://git.proxmox.com/git/grub2
synced 2025-06-14 20:16:57 +00:00

quite some time locally. Most of the test require root so they are skipped when run without necessarry privelegies.
20 lines
248 B
Bash
20 lines
248 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "x$EUID" = "x" ] ; then
|
|
EUID=`id -u`
|
|
fi
|
|
|
|
if [ "$EUID" != 0 ] ; then
|
|
exit 77
|
|
fi
|
|
|
|
if ! which mkudffs >/dev/null 2>&1; then
|
|
echo "mkudffs not installed; cannot test UDF."
|
|
exit 77
|
|
fi
|
|
|
|
"@builddir@/grub-fs-tester" udf
|
|
|