Re: question about test suite regarding stderr/stdout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11 May 2014 23:38, Ruediger Meier <sweet_f_a@xxxxxx> wrote:
> 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.

Hi Rudi,

Before parallel tests sending messages to stdout was OK, but now
things has changed and I think directing all messages to $TS_OUTPUT is
better option.

-- 
Sami Kerola
http://www.iki.fi/kerolasa/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux