btrfs_test.in 543 B

1234567891011121314151617181920212223242526
  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.btrfs >/dev/null 2>&1; then
  10. echo "mkfs.btrfs not installed; cannot test btrfs."
  11. exit 99
  12. fi
  13. "@builddir@/grub-fs-tester" btrfs
  14. "@builddir@/grub-fs-tester" btrfs_zlib
  15. "@builddir@/grub-fs-tester" btrfs_lzo
  16. "@builddir@/grub-fs-tester" btrfs_zstd
  17. "@builddir@/grub-fs-tester" btrfs_raid0
  18. "@builddir@/grub-fs-tester" btrfs_raid1
  19. "@builddir@/grub-fs-tester" btrfs_single
  20. "@builddir@/grub-fs-tester" btrfs_raid10