Re: [PATCH 01/24] xfs/331: don't run this test if fallocate isn't supported

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Mon, Sep 14, 2020 at 06:43:00PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> 
> This test requires fallocate, so make sure that actually works before
> running it.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> ---
>  tests/xfs/331 |    1 +
>  1 file changed, 1 insertion(+)
> 
> 
> diff --git a/tests/xfs/331 b/tests/xfs/331
> index b26ea155..501dd1f8 100755
> --- a/tests/xfs/331
> +++ b/tests/xfs/331
> @@ -32,6 +32,7 @@ _supported_fs xfs
>  _require_scratch
>  _require_xfs_scratch_rmapbt
>  _require_scratch_reflink
> +_require_xfs_io_command "falloc"

Good to me.
Reviewed-by: Zorro Lang <zlang@xxxxxxxxxx>

>  _require_test_program "punch-alternating"
>  
>  rm -f "$seqres.full"
> 




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux