test-alias: don't use the environment variable PWD stable
authorMads Kiilerich <mads@kiilerich.com>
Mon, 28 Jun 2010 23:16:11 +0200
branchstable
changeset 11460 9e250c145c38
parent 11459 59af1d65029c
child 11461 2b83c26b29f3
test-alias: don't use the environment variable PWD solaris ...
tests/test-alias
--- a/tests/test-alias	Mon Jun 28 15:08:01 2010 +0200
+++ b/tests/test-alias	Mon Jun 28 23:16:11 2010 +0200
@@ -13,7 +13,7 @@
 shortlog = log --template '{rev} {node|short} | {date|isodate}\n'
 dln = lognull --debug
 nousage = rollback
-put = export -r 0 -o "\$PWD/%R.diff"
+put = export -r 0 -o "\$FOO/%R.diff"
 
 [defaults]
 mylog = -q
@@ -62,5 +62,5 @@
 hg dln
 
 echo '% path expanding'
-hg put
+FOO=`pwd` hg put
 cat 0.diff