Re: [PATCH] sparse: Reduce 'test-suite' run output

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

 



On Fri, 26 Aug 2011, Christopher Li wrote:

On Fri, Aug 26, 2011 at 6:50 AM, Pekka Enberg <penberg@xxxxxxxxxx> wrote:
There's more than 100 tests in the validation test suite. That makes it
cumbersome to notice test breakage in because the results don't fit on single
page.

Looks good in a terminal. But if the output is piped to a file, it will be hard
to read that file. We shouldn't do it for a non-terminal output.

Right. How can I check if we're outputting to non-terminal?

+                       echo ""

Why not just "echo" instead. Without any argument, echo will just output "\n".

No reason, I'm just really bad at writing shell scripts. :-)

I'll fix that up!

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux