diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-09-01 13:39:57 -0400 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2023-09-02 13:54:38 +0800 |
commit | 59037f2aa014fc3c4e4239f7e169dfbd83ca3d44 (patch) | |
tree | ca4348252ac35e564585c4ca74889c81b4ae19d3 | |
parent | cf1ef0daf48864827e2712638a76d2aebbaa1ba0 (diff) | |
download | xfstests-dev-59037f2aa014fc3c4e4239f7e169dfbd83ca3d44.tar.gz |
generic/187: don't run this test on NFS
This test is unreliable on NFS. It fails consistently when run vs. a
server exporting btrfs, but passes when the server exports xfs. Since we
don't have any sort of attribute that we can require to test this, just
skip this one on NFS.
Also, subsume the check for btrfs into the _supported_fs check, and add
a comment for it.
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-x | tests/generic/187 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/generic/187 b/tests/generic/187 index 0653b92f12..e9b373995d 100755 --- a/tests/generic/187 +++ b/tests/generic/187 @@ -29,11 +29,14 @@ _cleanup() . ./common/reflink # real QA test starts here + +# btrfs can't fragment free space. This test is unreliable on NFS, as it +# depends on the exported filesystem. +_supported_fs ^btrfs ^nfs _require_scratch_reflink _require_cp_reflink _require_xfs_io_command "falloc" _require_xfs_io_command "fpunch" -test $FSTYP = "btrfs" && _notrun "Can't fragment free space on btrfs." _require_odirect _fragment_freesp() |