ntfs_test.in 407 B

12345678910111213141516171819202122232425
  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 99
  8. fi
  9. if ! which mkfs.ntfs >/dev/null 2>&1; then
  10. echo "mkfs.ntfs not installed; cannot test ntfs."
  11. exit 99
  12. fi
  13. if ! which setfattr >/dev/null 2>&1; then
  14. echo "setfattr not installed; cannot test ntfs."
  15. exit 99
  16. fi
  17. "@builddir@/grub-fs-tester" ntfs
  18. "@builddir@/grub-fs-tester" ntfscomp