All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <djwong@kernel.org>
To: Ma Xinjian <maxj.fnst@fujitsu.com>
Cc: fstests@vger.kernel.org
Subject: Re: [PATCH] generic/747: Redirect stderr of _scratch_mkfs_sized
Date: Thu, 6 Jun 2024 07:55:40 -0700	[thread overview]
Message-ID: <20240606145540.GC52977@frogsfrogsfrogs> (raw)
In-Reply-To: <20240606055759.2594-1-maxj.fnst@fujitsu.com>

On Thu, Jun 06, 2024 at 01:58:00PM +0800, Ma Xinjian wrote:
> The mkfs tool may output some information into stderr, which will cause the
> output check failed.
> 
> In _scratch_mkfs_sized, the return value of mkfs tool is checked. So the
> error message can be redirect to stdout, just like what other cases do.

Read list please
https://lore.kernel.org/fstests/171744525128.1531941.8755552045266618674.stgit@frogsfrogsfrogs/

--D

> Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
> ---
>  tests/generic/747 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/generic/747 b/tests/generic/747
> index 50b7ae11..a0da1be5 100755
> --- a/tests/generic/747
> +++ b/tests/generic/747
> @@ -99,7 +99,7 @@ seed=$RANDOM
>  RANDOM=$seed
>  echo "Running test with seed=$seed" >>$seqres.full
>  
> -_scratch_mkfs_sized $((8 * 1024 * 1024 * 1024)) >>$seqres.full
> +_scratch_mkfs_sized $((8 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1
>  _scratch_mount
>  
>  echo "Starting fillup using direct IO"
> -- 
> 2.39.3
> 
> 

      reply	other threads:[~2024-06-06 14:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-06  5:58 [PATCH] generic/747: Redirect stderr of _scratch_mkfs_sized Ma Xinjian
2024-06-06 14:55 ` Darrick J. Wong [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=20240606145540.GC52977@frogsfrogsfrogs \
    --to=djwong@kernel.org \
    --cc=fstests@vger.kernel.org \
    --cc=maxj.fnst@fujitsu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.