generic/{274,315}: Require falloc -k support
authorRostislav Skudnov <rostislav@tuxera.com>
Tue, 30 Jan 2018 13:54:59 +0000 (13:54 +0000)
committerEryu Guan <eguan@redhat.com>
Fri, 2 Feb 2018 16:33:51 +0000 (00:33 +0800)
These test cases require filesystem support for FALLOC_FL_KEEP_SIZE
flag in fallocate().

Signed-off-by: Rostislav Skudnov <rostislav@tuxera.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/274
tests/generic/315

index 7d093865d58a0e5cbb7d374ac9823d95aac471ca..a3f8c7556ab07d976e43897c9d38607f4f8247bd 100755 (executable)
@@ -48,7 +48,7 @@ _cleanup()
 _supported_fs generic
 _supported_os Linux
 _require_scratch
-_require_xfs_io_command "falloc"
+_require_xfs_io_command "falloc" "-k"
 
 echo "------------------------------"
 echo "preallocation test"
index 4433b6c1d7a02a2723fb25a806103ca7a1b60941..954f8a90b0a5fdca611923f6634292fa8d7aed09 100755 (executable)
@@ -49,7 +49,7 @@ _cleanup()
 _supported_fs generic
 _supported_os Linux
 _require_test
-_require_xfs_io_command "falloc"
+_require_xfs_io_command "falloc" "-k"
 
 rm -f $seqres.full