diff tests/test-histedit-fold.t @ 17086:5f2cacb715dc

tests: make histedit tests more resilient to filesystem variation Better quoting of odd filesystem paths and no dependency to execute bit.
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 30 Jun 2012 03:34:50 +0200
parents 35729bdd59b6
children a79776f427b4
line wrap: on
line diff
--- a/tests/test-histedit-fold.t	Sat Jun 30 03:34:44 2012 +0200
+++ b/tests/test-histedit-fold.t	Sat Jun 30 03:34:50 2012 +0200
@@ -61,7 +61,7 @@
   
 
 edit the history
-  $ HGEDITOR="cat $EDITED > " hg histedit 177f92b77385 2>&1 | fixbundle
+  $ HGEDITOR="cat \"$EDITED\" > " hg histedit 177f92b77385 2>&1 | fixbundle
   0 files updated, 0 files merged, 4 files removed, 0 files unresolved
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved