xfs
[Top] [All Lists]

Re: [PATCH] Use qa_user and qa_group for test 219

To: Jan Kara <jack@xxxxxxx>
Subject: Re: [PATCH] Use qa_user and qa_group for test 219
From: Brian Foster <bfoster@xxxxxxxxxx>
Date: Tue, 18 Dec 2012 08:38:06 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1355830435-5942-1-git-send-email-jack@xxxxxxx>
References: <1355830435-5942-1-git-send-email-jack@xxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1
On 12/18/2012 06:33 AM, Jan Kara wrote:
> Test 219 requires a special user. Use $qa_user and $qa_group (added in this
> patch) for that purpose instead of hardcoded uid & gid. This also fixes
> a false failure when repquota does not report quota for users not in passwd.
> 
> Signed-off-by: Jan Kara <jack@xxxxxxx>
> ---
...
> +# check for the fsgqa group on the machine
> +#
> +_require_group()
> +{
> +    qa_group=fsgqa
> +    _cat_group | grep -q $qa_user
> +    [ "$?" == "0" ] || _notrun "$qa_user user not defined."

I assume you mean to use $qa_group instead of $qa_user in the above two
lines?

Brian

> +}
> +
>  _filter_user_do()
>  {
>          perl -ne "
> 

<Prev in Thread] Current Thread [Next in Thread>