public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: Christoph Hellwig <hch@infradead.org>
Cc: xfs-oss <xfs@oss.sgi.com>
Subject: Re: [PATCH] xfstests: make 053 and 077 generic
Date: Sat, 30 Jan 2010 10:09:05 -0600	[thread overview]
Message-ID: <4B6459A1.4060900@sandeen.net> (raw)
In-Reply-To: <20100130102639.GC32695@infradead.org>

Christoph Hellwig wrote:
> 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@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.

oh good point :)
 
> Btw, any reason _acl_requirements isn't called _require_acl?

It already existed, I just used it ... renaming is probably a good idea.

>> 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.

hm, on the other hand some of my machines have so many kernels installed,
picking up all of /lib/modules might slow it down a lot.

So generating might be better, yeah.

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

thanks, I'll pull the chacl test & the commented lines before that.

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

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2010-01-30 16:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-28 23:30 [PATCH] xfstests: make 053 and 077 generic Eric Sandeen
2010-01-30 10:26 ` Christoph Hellwig
2010-01-30 16:09   ` Eric Sandeen [this message]
2010-01-30 19:08     ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B6459A1.4060900@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=hch@infradead.org \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox