summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/generic/1875
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/generic/187 b/tests/generic/187
index 0653b92f..e9b37399 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()