[PATCH 3/5] xfstests 198, 240: added check for aiodio-sparse2

Dave Chinner david at fromorbit.com
Fri Apr 13 06:49:57 CDT 2012


On Fri, Apr 13, 2012 at 11:49:44AM +0200, tmarek at redhat.com wrote:
> From: Tom Marek <tmarek at redhat.com>
> 
> Tests number 198 and 240 could fail when aiodio-sparse2 was not build.
> Check whether aiodio-sparse is built was added to both tests.
> 
> Signed-off-by: Tom Marek <tmarek at redhat.com>
> 
> Reviewed-by: Lukas Czerner <lczerner at redhat.com>
> ---
>  198 |    2 ++
>  240 |    2 ++
>  2 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/198 b/198
> index e46ec8d..b9b47b2 100755
> --- a/198
> +++ b/198
> @@ -45,6 +45,8 @@ _cleanup()
>  _supported_fs generic
>  _supported_os Linux
>  
> +[-x $here/src/aio-dio-regress/aiodio_sparse2] || _notrun "src/aio-dio-regress/aiodio_sparse2 not built"
> +

_require_aiodio

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list