aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-09-01 13:39:55 -0400
committerZorro Lang <zlang@kernel.org>2023-09-02 13:54:38 +0800
commitb6f51cac4dbe30d509e1c206720303c118b4d360 (patch)
tree5bf56f537154e184ed7e6393127b60f3cceda85c
parent2fcf852d5e6ccdfa15b4e91cfd9d570300e5f62a (diff)
downloadxfstests-dev-b6f51cac4dbe30d509e1c206720303c118b4d360.tar.gz
generic/294: don't run this test on NFS
When creating a new dentry (of any type), NFS will optimize away any on-the-wire lookups prior to the create since that means an extra round trip to the server. Because of that, it consistently fails this test. Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Zorro Lang <zlang@redhat.com> Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-xtests/generic/2946
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/generic/294 b/tests/generic/294
index 406b1b3954..408cbd395c 100755
--- a/tests/generic/294
+++ b/tests/generic/294
@@ -15,8 +15,10 @@ _begin_fstest auto quick
# real QA test starts here
-# Modify as appropriate.
-_supported_fs generic
+# NFS will optimize away the on-the-wire lookup before attempting to
+# create a new file (since that means an extra round trip).
+_supported_fs ^nfs
+
_require_scratch
_require_symlinks
_require_mknod