Re: [PATCH 3/7] add a test for semantic errors in config files
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jul 24, 2014, 14:05 UTC
- Message-ID
- <vpqha26kg2d.fsf@anie.imag.fr>
- In-Reply-To
- <53D11077.10907@gmail.com>
Tanay Abhra <tanayabh@gmail.com> writes:
Show 7 quoted lines
>>>> + test_when_finished "mv .git/config.old .git/config" && >>>> + echo "[alias]\n br" >.git/config && >> >> Is the use of \n portable? >> > > Yes, you are right, will replace with printf in the next patch.
... or a cat >.git/config <<\EOF, since this is the construct used elsewhere in the script.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/