diff mbox series

[fstests,v2,2/3] generic/357: don't run this test on NFS

Message ID 20230901-nfs-skip-v2-2-9eccd59bc524@kernel.org (mailing list archive)
State New, archived
Headers show
Series generic: skip a few tests on NFS | expand

Commit Message

Jeff Layton Sept. 1, 2023, 5:39 p.m. UTC
NFS doesn't keep track of whether a file is reflinked or not, so it
doesn't prevent this behavior. It shouldn't be a problem for NFS anyway,
so just skip this test there.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
 tests/generic/357 | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/tests/generic/357 b/tests/generic/357
index ce748f854327..a0299b32bc90 100755
--- a/tests/generic/357
+++ b/tests/generic/357
@@ -24,6 +24,11 @@  _cleanup()
 . ./common/reflink
 
 # real QA test starts here
+
+# For NFS, a reflink is just a CLONE operation, and after that
+# point it's dealt with by the server.
+_supported_fs ^nfs generic
+
 _require_scratch_swapfile
 _require_scratch_reflink
 _require_cp_reflink