Re: misleading error message from variable modifier
From:
Chet Ramey
Subject:
Re: misleading error message from variable modifier
Date:
Wed, 14 Mar 2018 22:08:19 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
On 3/9/18 3:14 AM, don fong wrote:
>
> my question was whether you have tests for the variable modifiers.
> i don't see any. that's the area of code i was touching, and that's why i
> wrote a few tests of that area.
Thank you for the inspiration. I ran the devel version of the test suite
through gcov, added some tests, and was able to increase the coverage of
subst.c (the word expansion code, plus) from 83% to 86%. It's tough to get
it higher than that due to the functions that exist only for readline
support and the debugging and system call error-handling code.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/