Re: [PATCH 02/17] t0001 (mingw): do not expect a specific order of stdout/stderr
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 19, 2019, 20:58 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1906192257000.44@tvgsbejvaqbjf.bet>
- In-Reply-To
- <0841b134-0719-8bda-41ec-abd124157df6@kdbg.org>
Hi Hannes,
On Wed, 19 Jun 2019, Johannes Sixt wrote:
Show 10 quoted lines
> Am 19.06.19 um 13:30 schrieb Johannes Schindelin: > > Interesting side note: I just realized that t6050-replace.sh does indeed > > contain > > > > test_i18ngrep "Needed a single revision" err > > > > so I wonder why that works. > > Why should it not work? If GIT_TEST_GETTEXT_POISON is on, it pretends > success; otherwise, it does a regular grep.
Ah, right, I vaguely remembered that Duy offered patches to do something funny with a pseudo locale (I never understood why not go for the much simpler ROT-13), and I guess that effort never went anywhere.
So essentially the test case in t6050 will succeed under GETTEXT_POISON for the wrong reasons.
Thanks for explaining this to me!
Ciao, Dscho