comparison tests/testutil @ 1061:b236d7259c2d

tests: set default date that run-tests.py no longer sets Since updating run-tests.py in e085b381e8e2, a default date of '0 0' is no longer set automatically. Restore this by adding it to our own test suite's default hgrc.
author Kevin Bullock <kbullock@ringworld.org>
date Wed, 01 Nov 2017 19:50:00 -0500
parents a7956bcbffe1
children
comparison
equal deleted inserted replaced
1060:0a4b119fb2b4 1061:b236d7259c2d
6 6
7 # Activate extensions 7 # Activate extensions
8 echo "[extensions]" >> $HGRCPATH 8 echo "[extensions]" >> $HGRCPATH
9 echo "hggit=$(echo $(dirname $TESTDIR))/hggit" >> $HGRCPATH 9 echo "hggit=$(echo $(dirname $TESTDIR))/hggit" >> $HGRCPATH
10 echo 'mq=' >> $HGRCPATH 10 echo 'mq=' >> $HGRCPATH
11
12 # Defaults for testing against hg < 4.3
13 echo '[defaults]' >> $HGRCPATH
14 echo 'backout = -d "0 0"' >> $HGRCPATH
15 echo 'commit = -d "0 0"' >> $HGRCPATH
16 echo 'shelve = --date "0 0"\n' >> $HGRCPATH
17 echo 'tag = -d "0 0"\n' >> $HGRCPATH
11 18
12 # Standard checks for external dependencies 19 # Standard checks for external dependencies
13 # We use the git command-line client and dulwich in pretty much all the tests. 20 # We use the git command-line client and dulwich in pretty much all the tests.
14 # Thus, to avoid repetitively declaring that requirement in almost every test, 21 # Thus, to avoid repetitively declaring that requirement in almost every test,
15 # we just call the checks in all tests that include this library. 22 # we just call the checks in all tests that include this library.