changeset 26:86a845a16a6e

Fix test-fastimport-cvs2git so output does not include temp dir.
author Greg Ward <greg-hg@gerg.ca>
date Mon, 04 May 2009 10:31:09 -0400
parents e10dff7c4369
children 68bfc64028db
files tests/test-fastimport-cvs2git tests/test-fastimport-cvs2git.out
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-fastimport-cvs2git	Mon May 04 10:25:48 2009 -0400
+++ b/tests/test-fastimport-cvs2git	Mon May 04 10:31:09 2009 -0400
@@ -69,7 +69,8 @@
 
 echo "% import cvs2git dumps"
 hg init simplecvs
-hg -R simplecvs fastimport git-blob.dat git-dump.dat
+hg -R simplecvs fastimport git-blob.dat git-dump.dat \
+  | sed "s|$HGTMP|HGTMP|g"
 
 # Inspecting the hg repository is identical to test-fastimport-git.
 echo "% log"
--- a/tests/test-fastimport-cvs2git.out	Mon May 04 10:25:48 2009 -0400
+++ b/tests/test-fastimport-cvs2git.out	Mon May 04 10:31:09 2009 -0400
@@ -5,7 +5,7 @@
 Done commit of rev 0
 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
 Done commit of rev 1
-Removing blob dir '/home/greg/src/hg-fastimport/tests/tmp/simplecvs/.hg/blobs' ...
+Removing blob dir 'HGTMP/test-fastimport-cvs2git/simplecvs/.hg/blobs' ...
 % log
 @  changeset:   1:be20ff2863a5
 |  tag:         tip