Message ID | 20230831-nfs-skip-v1-2-d54c1c6a9af2@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | generic: skip a few tests on NFS | expand |
diff --git a/tests/generic/357 b/tests/generic/357 index ce748f854327..909f0c8c6762 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. +test $FSTYP = "nfs" && _notrun "NFS allows reflinked swapfiles" + _require_scratch_swapfile _require_scratch_reflink _require_cp_reflink
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(+)