]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
generic/357: don't run this test on NFS
authorJeff Layton <jlayton@kernel.org>
Fri, 1 Sep 2023 17:39:56 +0000 (13:39 -0400)
committerZorro Lang <zlang@kernel.org>
Sat, 2 Sep 2023 05:54:38 +0000 (13:54 +0800)
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>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/357

index ce748f854327e534751dacd34a7d83f193a43056..0f3e02d5b5584905881e5c2817cfe2c25f9e636e 100755 (executable)
@@ -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
+
 _require_scratch_swapfile
 _require_scratch_reflink
 _require_cp_reflink