]> git.proxmox.com Git - grub2.git/blob - tests/ntfs_test.in
grub2 (2.02+dfsg1-20) unstable; urgency=medium
[grub2.git] / tests / ntfs_test.in
1 #!/bin/sh
2
3 set -e
4
5 if [ "x$EUID" = "x" ] ; then
6 EUID=`id -u`
7 fi
8
9 if [ "$EUID" != 0 ] ; then
10 exit 77
11 fi
12
13 if ! which mkfs.ntfs >/dev/null 2>&1; then
14 echo "mkfs.ntfs not installed; cannot test ntfs."
15 exit 77
16 fi
17
18 if ! which setfattr >/dev/null 2>&1; then
19 echo "setfattr not installed; cannot test ntfs."
20 exit 77
21 fi
22
23 "@builddir@/grub-fs-tester" ntfs
24 "@builddir@/grub-fs-tester" ntfscomp