From: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
To: Bart Van Assche <bvanassche@acm.org>
Cc: linux-block@vger.kernel.org
Subject: Re: [PATCH blktests] block/044: Strip script line numbers from expected stderr output
Date: Thu, 3 Dec 2026 09:24:01 +0900 [thread overview]
Message-ID: <axC2jg0kH90tOn6H@shinmob> (raw)
In-Reply-To: <20261129235326.3447865-1-bvanassche@acm.org>
On Nov 29, 2026 / 15:53, Bart Van Assche wrote:
> tests/block/044.out expects bash error messages referencing lines 56 and
> 57 for the two invalid error injection rules, while the corresponding echo
> commands are on lines 49 and 50 of tests/block/044. As a result, block/044
> fails whenever CONFIG_BLK_ERROR_INJECTION is enabled.
>
> Strip the "<script>: line <N>: " prefix from stderr when testing invalid
> rules and update tests/block/044.out accordingly so the test output does
> not depend on script line numbers.
>
> Fixes: 10f78d6a7ad0 ("block/044: basic block error injection sanity test")
> Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Thank you for the fix, I applied the patch.
prev parent reply other threads:[~2026-12-03 0:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 23:53 [PATCH blktests] block/044: Strip script line numbers from expected stderr output Bart Van Assche
2026-12-03 0:24 ` Shin'ichiro Kawasaki [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=axC2jg0kH90tOn6H@shinmob \
--to=shinichiro.kawasaki@wdc.com \
--cc=bvanassche@acm.org \
--cc=linux-block@vger.kernel.org \
/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.