From: Ruediger Meier <sweet_f_a@gmx.de>
To: util-linux@vger.kernel.org
Subject: question about test suite regarding stderr/stdout
Date: Mon, 12 May 2014 00:38:12 +0200 [thread overview]
Message-ID: <201405120038.12221.sweet_f_a@gmx.de> (raw)
Hi,
if you do this grep in util-linux
git grep '2>&1 >> $TS_OUTPUT' tests/ts
then you find 45 lines like this
$TS_CMD_MKCRAMFS -n $LABEL $IMAGE_SRC $IMAGE_PATH 2>&1 >> $TS_OUTPUT
which means that these warnings go to make's output but not to
$TS_OUTPUT.
I'm not sure whether this is really always wanted. For me it often looks
like a typo which should be ">> $TS_OUTPUT 2>&1" instead. Of course
could also be that it's really wanted as is to ignore stderr of too
verbose commands.
Could somebody please check this too?
I'v had some cases where I would have liked to see that stderr in test
diff instead of build log. Moreover because of parallel tests it can be
difficult to find out which warning belongs to which particular test.
cu,
Rudi
next reply other threads:[~2014-05-11 22:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-11 22:38 Ruediger Meier [this message]
2014-05-11 23:22 ` question about test suite regarding stderr/stdout Sami Kerola
2014-05-12 10:53 ` Karel Zak
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=201405120038.12221.sweet_f_a@gmx.de \
--to=sweet_f_a@gmx.de \
--cc=util-linux@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox