jfs_test.in 257 B

12345678910111213141516171819
  1. #!@BUILD_SHEBANG@
  2. set -e
  3. if [ "x$EUID" = "x" ] ; then
  4. EUID=`id -u`
  5. fi
  6. if [ "$EUID" != 0 ] ; then
  7. exit 77
  8. fi
  9. if ! which mkfs.jfs >/dev/null 2>&1; then
  10. echo "mkfs.jfs not installed; cannot test JFS."
  11. exit 77
  12. fi
  13. "@builddir@/grub-fs-tester" jfs