Mercurial > hg
comparison tests/test-convert-darcs.t @ 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 | 7439ea4146f8 |
children | cd3032437064 |
comparison
equal
deleted
inserted
replaced
13764:8ed67e44c71c | 13765:7fc79055a62b |
---|---|
2 $ "$TESTDIR/hghave" darcs || exit 80 | 2 $ "$TESTDIR/hghave" darcs || exit 80 |
3 $ echo "[extensions]" >> $HGRCPATH | 3 $ echo "[extensions]" >> $HGRCPATH |
4 $ echo "convert=" >> $HGRCPATH | 4 $ echo "convert=" >> $HGRCPATH |
5 $ echo 'graphlog =' >> $HGRCPATH | 5 $ echo 'graphlog =' >> $HGRCPATH |
6 $ DARCS_EMAIL='test@example.org'; export DARCS_EMAIL | 6 $ DARCS_EMAIL='test@example.org'; export DARCS_EMAIL |
7 $ HOME=`pwd`/do_not_use_HOME_darcs; export HOME | |
8 | 7 |
9 skip if we can't import elementtree | 8 skip if we can't import elementtree |
10 | 9 |
11 $ mkdir dummy | 10 $ mkdir dummy |
12 $ mkdir dummy/_darcs | 11 $ mkdir dummy/_darcs |