[PATCH] xfstests: make 053 and 077 generic

Christoph Hellwig hch at infradead.org
Sat Jan 30 04:26:39 CST 2010


On Thu, Jan 28, 2010 at 05:30:25PM -0600, Eric Sandeen wrote:
> 053 and 077 can be generic w/ a little tweaking.
> 
> Also change 077's filler to something more likely
> to be on a random system under test, and add it
> to the enospc group.
> 
> Signed-off-by: Eric Sandeen <sandeen at sandeen.net>
> ---
> 
> diff --git a/053 b/053
> index 98644a7..5542885 100755
> --- a/053
> +++ b/053
> @@ -38,18 +38,19 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
>  . ./common.attr
>  
>  # real QA test starts here
> -_supported_fs xfs
> +_supported_fs generic
>  _supported_os Linux
>  
>  [ ! -x /bin/chacl -a ! -x /usr/bin/chacl ] && _notrun "chacl command not found"
>  
>  _require_scratch
> +_acl_requirements

_acl_requirements includes the chacl check, so it can be removed.

Btw, any reason _acl_requirements isn't called _require_acl?

> diff --git a/077 b/077
> index cdee8da..d23305f 100755
> --- a/077
> +++ b/077
> @@ -31,7 +31,8 @@ here=`pwd`
>  tmp=/tmp/$$
>  status=1
>  #filler=$here/../../linux
> -filler=/home/fsgqa/isms/2.4.x-xfs
> +#filler=/home/fsgqa/isms/2.4.x-xfs
> +filler=/lib/modules/`uname -r`/

Oooops.  Maybe just use /lib/modules/ to get as much as possible.
And no need to let the other bits comment out there.  Maybe we need
to generate the data instead to really be safe - at least for my
tests under qemu I don't have any modules installed.  But that should
be left for another patch.

Anyway, patch looks good enough to go in for now, so


Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the xfs mailing list