Add tests for allocate support and test if TRIM really works on tested 
partition.

Signed-off-by: Dushan Tcholich <[email protected]>

--- xfstests.orig/tests/generic/038     2014-12-14 15:18:00.000000000 +0100
+++ xfstests/tests/generic/038  2014-12-15 23:21:11.000000000 +0100
@@ -70,6 +70,10 @@
 _supported_os Linux
 _require_scratch
 _require_fstrim
+_require_xfs_io_command "falloc"
+_require_xfs_io_command "truncate"
+
+_test_batched_discard $SCRATCH_MNT || _notrun "FITRIM not supported on 
$SCRATCH_DEV"
 
 rm -f $seqres.full
 
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to