comparison tests/test-eol-add.t @ 13519:43b3b761d9d1

tests: don't overwrite HGRCPATH Overwriting instead of appending to the file removes the [defaults] section put into the file by run-tests.py. It also defeats the --inotify option to run-tests.py. (Nothing was broken yet, but the lack of -d "0 0" cause changeset hashes to change unexpectedly in a test case I was editing.)
author Martin Geisler <mg@aragost.com>
date Tue, 01 Mar 2011 17:01:17 +0100
parents 7439ea4146f8
children
comparison
equal deleted inserted replaced
13518:c39e9cead0ae 13519:43b3b761d9d1
1 Test adding .hgeol 1 Test adding .hgeol
2 2
3 $ cat > $HGRCPATH <<EOF 3 $ cat >> $HGRCPATH <<EOF
4 > [diff] 4 > [diff]
5 > git = 1 5 > git = 1
6 > EOF 6 > EOF
7 $ seteol () { 7 $ seteol () {
8 > if [ $1 = "LF" ]; then 8 > if [ $1 = "LF" ]; then