GNU bug report logs - #32703
echo_man_error

Previous Next

Package: coreutils;

Reported by: "1064240043" <szq1064240043 <at> qq.com>

Date: Tue, 11 Sep 2018 15:19:02 UTC

Severity: normal

Tags: moreinfo

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>, 32703 <at> debbugs.gnu.org, szq1064240043 <at> qq.com
Subject: bug#32703: echo_man_error
Date: Mon, 24 Sep 2018 21:10:54 -0700
On 24/09/18 14:47, Bernhard Voelker wrote:
> On 9/24/18 4:48 AM, Pádraig Brady wrote:
>> I'll push the attached later.
>> Interesting there were no echo tests until now.
> 
> Nice work, indeed.
> 
> Additionally to Eric's comment, I'd suggest to increase the coverage
> for 'echo' to about 100% [1] with the attached patch:
> 
> *  src/echo.c (usage): Assert that STATUS is always EXIT_SUCCESS.
> * tests/misc/echo.sh: Add further tests for all hex and escape and
> escape characters.
> 
> You may simply squash it in.
> 
> [1] To get coverage statistic, run:
>   make coverage -j 4 TESTS=tests/misc/echo.sh SUBDIRS=.
>   xdg-open file:doc/coverage/src/echo.c.gcov.frameset.html
> 
> 
> Have a nice day,
> Berny
> 

Excellent!
I'll push this as its own patch.

thanks!
Pádraig




This bug report was last modified 6 years and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.