Re: bash tests failing when compiled with --enable-xpg-echo-default=yes

2016-12-07 Thread Vladimir Marek
> >>> And second patch we use because of xpg-echo. Would it have sense to have > >>> it included, or maybe stop the tests completely instead? > >> > >> You could just have turned off the xpg_echo option instead of going through > >> a convoluted test (which just emulates `shopt -q') to determine

Re: bash tests failing when compiled with --enable-xpg-echo-default=yes

2016-12-05 Thread Chet Ramey
On 12/4/16 8:38 AM, Vladimir Marek wrote: >>> And second patch we use because of xpg-echo. Would it have sense to have >>> it included, or maybe stop the tests completely instead? >> >> You could just have turned off the xpg_echo option instead of going through >> a convoluted test (which just

Re: bash tests failing when compiled with --enable-xpg-echo-default=yes

2016-12-04 Thread Vladimir Marek
> > And second patch we use because of xpg-echo. Would it have sense to have > > it included, or maybe stop the tests completely instead? > > You could just have turned off the xpg_echo option instead of going through > a convoluted test (which just emulates `shopt -q') to determine whether or >

Re: bash tests failing when compiled with --enable-xpg-echo-default=yes

2016-12-03 Thread Chet Ramey
On 12/2/16 6:07 AM, Vladimir Marek wrote: > And second patch we use because of xpg-echo. Would it have sense to have > it included, or maybe stop the tests completely instead? You could just have turned off the xpg_echo option instead of going through a convoluted test (which just emulates `shopt

Re: bash tests failing when compiled with --enable-xpg-echo-default=yes

2016-12-03 Thread Chet Ramey
On 12/1/16 5:44 PM, Vladimir Marek wrote: > Because of this setting the tests are failing. I am attaching a patch we > are using for workaround to show where the problems are seen. I used > 'echo -E' when investigating, but "printf '%s\n'" seems to be more > appropriate. If there is interest I'm

Re: bash tests failing when compiled with --enable-xpg-echo-default=yes

2016-12-02 Thread Vladimir Marek
And second patch we use because of xpg-echo. Would it have sense to have it included, or maybe stop the tests completely instead? Thank you -- Vlad On Thu, Dec 01, 2016 at 10:44:02PM +, Vladimir Marek wrote: > Hi, > > On Solaris bash is compiled with --enable-xpg-echo-default=yes

bash tests failing when compiled with --enable-xpg-echo-default=yes

2016-12-01 Thread Vladimir Marek
Hi, On Solaris bash is compiled with --enable-xpg-echo-default=yes (and --enable-usg-echo-default=yes if that makes difference). I have no idea why, but since it was shipped like this for a long time, I am afraid of changing that :) Because of this setting the tests are failing. I am attaching a