Re: misleading error message from variable modifier

2018-03-08 Thread Chet Ramey
On 3/7/18 1:00 PM, don fong wrote: > Chet Ramey wrote: >> What are the most important features that you consider to lack unit tests? > > are there any tests that cover the variable modifiers, either unit tests or > functional tests? Yes. The test framework and tests are available for you to see.

Unexpected behavior of 'declare +n var' when var's target is unset and undeclared

2018-03-08 Thread GreatBigDot
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/locale'