generic/401: Test mountpoint not subdir for filetype support
[xfstests-dev.git] / tests / generic / 401
index 04bd1a5943f6f9284717f2ed1b3f84b05f76ed7c..74f2bea5ac30f0fa8df79d7c01e1ca5d573f4e54 100755 (executable)
@@ -79,7 +79,7 @@ mknod $testdir/p p
 src/t_dir_type $testdir d | grep -F '.' | sort
 
 # Test that either all file types are unknown or all are correct
-if _supports_filetype $testdir; then
+if _supports_filetype $SCRATCH_MNT; then
        # print real file types
        src/t_dir_type $testdir | grep -vF '.' | sort
 else