Linux block layer
 help / color / mirror / Atom feed
From: Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>
To: Jan Kara <jack@suse.cz>
Cc: "osandov@fb.com" <osandov@fb.com>,
	"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>
Subject: Re: [PATCH] blktests: Ignore errors from wait(1)
Date: Tue, 14 Jun 2022 07:04:54 +0000	[thread overview]
Message-ID: <20220614070454.5tcyunt53nqf3y7q@shindev> (raw)
In-Reply-To: <20220613151721.18664-1-jack@suse.cz>

On Jun 13, 2022 / 17:17, Jan Kara wrote:
> Multiple blktests use wait(1) to wait for background tasks. However in
> some cases tasks can exit before wait(1) is called and in that case
> wait(1) complains which breaks expected output. Make sure we ignore
> output from wait(1) to avoid this breakage.

Hi Jan, thanks for the patch.

May I know how to create the wait(1) complaint message? I added sleep command
before the waits to ensure the background tasks completed, but was not able to
see message by wait on my test system. I suspect it may depend on bash version.

-- 
Shin'ichiro Kawasaki

  parent reply	other threads:[~2022-06-14  7:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-13 15:17 [PATCH] blktests: Ignore errors from wait(1) Jan Kara
2022-06-13 22:48 ` Chaitanya Kulkarni
2022-06-14 13:15   ` Jan Kara
2022-06-15 11:30     ` Shinichiro Kawasaki
2022-06-14  7:04 ` Shinichiro Kawasaki [this message]
2022-06-14 13:18   ` Jan Kara
2022-06-15 11:50     ` Shinichiro Kawasaki
2022-06-15 16:56       ` Jan Kara
2022-06-16  4:16         ` Shinichiro Kawasaki

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=20220614070454.5tcyunt53nqf3y7q@shindev \
    --to=shinichiro.kawasaki@wdc.com \
    --cc=jack@suse.cz \
    --cc=linux-block@vger.kernel.org \
    --cc=osandov@fb.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