FS/XFS testing framework
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: Theodore Ts'o <tytso@mit.edu>, fstests@vger.kernel.org
Subject: Re: [PATCH] generic/077: fall back to /usr if /lib/modules doesn't exist
Date: Sat, 09 Aug 2014 08:29:23 -0500	[thread overview]
Message-ID: <53E62233.50807@sandeen.net> (raw)
In-Reply-To: <1407562753-11033-1-git-send-email-tytso@mit.edu>

On 8/9/14, 12:39 AM, Theodore Ts'o wrote:
> We need a source of "filler" that can fill up a 50M file system.
> Unfortunately, on some systems /lib/modules might not exist at all.
> In that case, use /usr instead.
> 
> Signed-off-by: Theodore Ts'o <tytso@mit.edu>

Seems reasonable.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>

> ---
>  tests/generic/077 | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/tests/generic/077 b/tests/generic/077
> index 172ce6e..0d6aec7 100755
> --- a/tests/generic/077
> +++ b/tests/generic/077
> @@ -32,6 +32,9 @@ status=1
>  # Something w/ enough data to fill 50M of fs...
>  filler=/lib/modules/
>  
> +# fall back in case /lib/modules doesn't exist
> +[ -d $filler ] || filler=/usr
> +
>  _cleanup()
>  {
>  	cd /
> 


      reply	other threads:[~2014-08-09 13:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-09  5:39 [PATCH] generic/077: fall back to /usr if /lib/modules doesn't exist Theodore Ts'o
2014-08-09 13:29 ` Eric Sandeen [this message]

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=53E62233.50807@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=fstests@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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