From 3ce66a229ddb8e305561085d1dfbf67defb2640a Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Fri, 23 Jun 2017 11:12:41 -0500 Subject: [PATCH] generic/401: Test mountpoint not subdir for filetype support With pending changes for xfs_info/xfs_growfs, the tool now requires an actual mount point to work properly. Change this test to test $SCRATCH_MNT not the subdir beneath it. Signed-off-by: Eric Sandeen Reviewed-by: Bill O'Donnell Signed-off-by: Eryu Guan --- tests/generic/401 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic/401 b/tests/generic/401 index 04bd1a59..74f2bea5 100755 --- a/tests/generic/401 +++ b/tests/generic/401 @@ -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 -- 2.30.2