tests: use $TESTTMP more and use (glob) less
authorMartin Geisler <mg@aragost.com>
Thu, 10 Mar 2011 13:43:47 +0100
changeset 13572 1bb2a56a9d73
parent 13571 84bd3fd63afc
child 13576 edd06611a7c6
tests: use $TESTTMP more and use (glob) less This locks down the test output a little more.
tests/test-hgrc.t
tests/test-keyword.t
tests/test-mq-strip.t
tests/test-revset-outgoing.t
--- a/tests/test-hgrc.t	Fri Jan 07 15:19:21 2011 -0600
+++ b/tests/test-hgrc.t	Thu Mar 10 13:43:47 2011 +0100
@@ -20,12 +20,12 @@
   $ cd foobar
   $ cat .hg/hgrc
   [paths]
-  default = */foo%bar (glob)
+  default = $TESTTMP/foo%bar
   $ hg paths
-  default = */foo%bar (glob)
+  default = $TESTTMP/foo%bar
   $ hg showconfig
-  bundle.mainreporoot=*/foobar (glob)
-  paths.default=*/foo%bar (glob)
+  bundle.mainreporoot=$TESTTMP/foobar
+  paths.default=$TESTTMP/foo%bar
   $ cd ..
 
 issue1829: wrong indentation
--- a/tests/test-keyword.t	Fri Jan 07 15:19:21 2011 -0600
+++ b/tests/test-keyword.t	Thu Mar 10 13:43:47 2011 +0100
@@ -209,7 +209,7 @@
   To: Test
   
   changeset a2392c293916 in $TESTTMP/Test
-  details: *cmd=changeset;node=a2392c293916 (glob)
+  details: $TESTTMP/Test?cmd=changeset;node=a2392c293916
   description:
   	addsym
   
--- a/tests/test-mq-strip.t	Fri Jan 07 15:19:21 2011 -0600
+++ b/tests/test-mq-strip.t	Thu Mar 10 13:43:47 2011 +0100
@@ -410,7 +410,7 @@
   abort: local changes found
   [255]
   $ hg strip tip --keep
-  saved backup bundle to * (glob)
+  saved backup bundle to $TESTTMP/test/.hg/strip-backup/*-backup.hg (glob)
   $ hg log --graph
   @  changeset:   0:9ab35a2d17cb
      tag:         tip
--- a/tests/test-revset-outgoing.t	Fri Jan 07 15:19:21 2011 -0600
+++ b/tests/test-revset-outgoing.t	Thu Mar 10 13:43:47 2011 +0100
@@ -39,7 +39,7 @@
   $ cd b
   $ cat .hg/hgrc
   [paths]
-  default = */a#stable (glob)
+  default = $TESTTMP/a#stable
 
   $ echo red >> a
   $ hg ci -qm3
@@ -60,7 +60,7 @@
   
 
   $ hg tout
-  comparing with */a (glob)
+  comparing with $TESTTMP/a
   searching for changes
   2:1d4099801a4e: '3' stable
 
@@ -79,11 +79,11 @@
 
   $ cat .hg/hgrc
   [paths]
-  default = */a#stable (glob)
+  default = $TESTTMP/a#stable
   green = ../a#default
 
   $ hg tout green
-  comparing with */a (glob)
+  comparing with $TESTTMP/a
   searching for changes
   3:f0461977a3db: '4'