zfs_test.in 595 B

12345678910111213141516171819202122232425262728
  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 zpool >/dev/null 2>&1; then
  10. echo "zpool not installed; cannot test zfs."
  11. exit 77
  12. fi
  13. "@builddir@/grub-fs-tester" zfs
  14. "@builddir@/grub-fs-tester" zfs_lzjb
  15. "@builddir@/grub-fs-tester" zfs_gzip
  16. "@builddir@/grub-fs-tester" zfs_zle
  17. "@builddir@/grub-fs-tester" zfs_raidz3
  18. "@builddir@/grub-fs-tester" zfs_raidz2
  19. "@builddir@/grub-fs-tester" zfs_raidz
  20. "@builddir@/grub-fs-tester" zfs_mirror
  21. "@builddir@/grub-fs-tester" zfs_stripe
  22. "@builddir@/grub-fs-tester" zfs_caseins