From: Xu Huan <xuhuan.fnst@xxxxxxxxxxxxxx> in generic 401 when test on fs without filesystem support list DT_UNKNOWN file . and .. , then list all file without . and .. following is test result on nfs generic/401 QA output created by 401 . d .. d - output mismatch (see /var/lib/xfstests/results//generic/401.out.bad) --- tests/generic/401.out 2018-05-22 04:22:11.641999979 -0400 +++ /var/lib/xfstests/results//generic/401.out.bad 2018-05-28 23:22:42.312999931 -0400 @@ -1,9 +1,3 @@ QA output created by 401 . d .. d -b b -c c -d d -f f --- tests/generic/401 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/generic/401 b/tests/generic/401 index 74f2bea5..26938864 100755 --- a/tests/generic/401 +++ b/tests/generic/401 @@ -86,8 +86,8 @@ else # print fake dir file type for . and .. if they are DT_UNKNOWN src/t_dir_type $testdir u | grep -F '.' | \ awk '{ print $1, "d" }' | sort - # list unknown files and print filename as fake file type - src/t_dir_type $testdir u | grep -vF '.' | \ + # list all files without . and .. and print filename as fake file type + src/t_dir_type $testdir | grep -vF '.' | \ awk '{ print $1, $1 }' | sort fi -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html