zfs_test.in 632 B

1234567891011121314151617181920212223242526272829
  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 zpool >/dev/null 2>&1; then
  10. echo "zpool not installed; cannot test zfs."
  11. exit 99
  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_zstd
  18. "@builddir@/grub-fs-tester" zfs_raidz3
  19. "@builddir@/grub-fs-tester" zfs_raidz2
  20. "@builddir@/grub-fs-tester" zfs_raidz
  21. "@builddir@/grub-fs-tester" zfs_mirror
  22. "@builddir@/grub-fs-tester" zfs_stripe
  23. "@builddir@/grub-fs-tester" zfs_caseins