]> git.proxmox.com Git - grub2.git/commitdiff
ntfs_test: Skip is setfattr is unavailable.
authorVladimir Serbinenko <phcoder@gmail.com>
Sat, 28 Feb 2015 14:13:41 +0000 (15:13 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Sat, 28 Feb 2015 14:13:41 +0000 (15:13 +0100)
tests/ntfs_test.in

index 6bf09e691ca59a813c6934d681f887fd038df3d6..e25c6384a9cd6e086961116c83db4a31353d6e7c 100644 (file)
@@ -15,5 +15,10 @@ if ! which mkfs.ntfs >/dev/null 2>&1; then
    exit 77
 fi
 
+if ! which setfattr >/dev/null 2>&1; then
+   echo "setfattr not installed; cannot test ntfs."
+   exit 77
+fi
+
 "@builddir@/grub-fs-tester" ntfs
-"@builddir@/grub-fs-tester" ntfscomp
\ No newline at end of file
+"@builddir@/grub-fs-tester" ntfscomp