changeset 9044:d4d4da54ab05

Bourne shells do not maintain $PWD; update tests accordingly
author David Champion <dgc@uchicago.edu>
date Tue, 07 Jul 2009 01:25:44 +0200
parents 438f0b1d4684
children 500013d3b6a9 9f191931c859
files tests/test-convert-p4 tests/test-template-engine
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-convert-p4	Sun Jul 05 18:52:55 2009 -0400
+++ b/tests/test-convert-p4	Tue Jul 07 01:25:44 2009 +0200
@@ -6,7 +6,7 @@
 echo "convert = " >> $HGRCPATH
 
 echo % create p4 depot
-P4ROOT=$PWD/depot; export P4ROOT
+P4ROOT=`pwd`/depot; export P4ROOT
 P4AUDIT=$P4ROOT/audit; export P4AUDIT
 P4JOURNAL=$P4ROOT/journal; export P4JOURNAL
 P4LOG=$P4ROOT/log; export P4LOG
--- a/tests/test-template-engine	Sun Jul 05 18:52:55 2009 -0400
+++ b/tests/test-template-engine	Tue Jul 07 01:25:44 2009 +0200
@@ -20,7 +20,7 @@
 
 hg init test
 echo '[extensions]' > test/.hg/hgrc
-echo "engine = $PWD/engine.py" >> test/.hg/hgrc
+echo "engine = `pwd`/engine.py" >> test/.hg/hgrc
 
 cd test
 cat > mymap << EOF