Mercurial > hg
changeset 13765:7fc79055a62b
tests: no need to explicitly export HOME in test files
the test runner ensures that HOME is set to a temp dir
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Fri, 25 Mar 2011 22:18:05 +0200 |
parents | 8ed67e44c71c |
children | 627e50e9e316 |
files | tests/test-convert-baz tests/test-convert-darcs.t tests/test-convert-mtn.t tests/test-convert-tla.t |
diffstat | 4 files changed, 0 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-convert-baz Fri Mar 25 22:15:37 2011 +0200 +++ b/tests/test-convert-baz Fri Mar 25 22:18:05 2011 +0200 @@ -2,10 +2,6 @@ "$TESTDIR/hghave" baz || exit 80 -mkdir do_not_use_HOME_baz -cd do_not_use_HOME_baz -HOME=`pwd`; export HOME -cd .. baz my-id "mercurial <mercurial@selenic.com>" echo "[extensions]" >> $HGRCPATH
--- a/tests/test-convert-darcs.t Fri Mar 25 22:15:37 2011 +0200 +++ b/tests/test-convert-darcs.t Fri Mar 25 22:18:05 2011 +0200 @@ -4,7 +4,6 @@ $ echo "convert=" >> $HGRCPATH $ echo 'graphlog =' >> $HGRCPATH $ DARCS_EMAIL='test@example.org'; export DARCS_EMAIL - $ HOME=`pwd`/do_not_use_HOME_darcs; export HOME skip if we can't import elementtree
--- a/tests/test-convert-mtn.t Fri Mar 25 22:15:37 2011 +0200 +++ b/tests/test-convert-mtn.t Fri Mar 25 22:18:05 2011 +0200 @@ -8,7 +8,6 @@ $ echo "[extensions]" >> $HGRCPATH $ echo "convert=" >> $HGRCPATH $ echo 'graphlog =' >> $HGRCPATH - $ HOME=`pwd`/do_not_use_HOME_mtn; export HOME Windows version of monotone home
--- a/tests/test-convert-tla.t Fri Mar 25 22:15:37 2011 +0200 +++ b/tests/test-convert-tla.t Fri Mar 25 22:18:05 2011 +0200 @@ -1,9 +1,5 @@ $ "$TESTDIR/hghave" tla || exit 80 - $ mkdir do_not_use_HOME_tla - $ cd do_not_use_HOME_tla - $ HOME=`pwd`; export HOME - $ cd .. $ tla my-id "mercurial <mercurial@selenic.com>" $ echo "[extensions]" >> $HGRCPATH $ echo "convert=" >> $HGRCPATH