test-histedit-commute: call helper script with sh
authorMatt Mackall <mpm@selenic.com>
Sat, 17 Jan 2015 13:44:43 -0800
changeset 23910 759df5197e9a
parent 23909 0760f023a34b
child 23911 593a5cd709a2
test-histedit-commute: call helper script with sh Buildbot pointed out that this test wasn't passing on Linux+vfat because there's no chmod for shell scripts.
tests/test-histedit-commute.t
--- a/tests/test-histedit-commute.t	Sat Jan 17 13:38:17 2015 -0800
+++ b/tests/test-histedit-commute.t	Sat Jan 17 13:44:43 2015 -0800
@@ -414,9 +414,8 @@
   > pick 40e7299e8fa7 2 renamed
   > ENDOF
   > EOF
-  $ chmod +x editor.sh
 
-  $ HGEDITOR=./editor.sh hg histedit 0
+  $ HGEDITOR="sh ./editor.sh" hg histedit 0
   1 files updated, 0 files merged, 1 files removed, 0 files unresolved
   adding another-dir/initial-file
   removing initial-dir/initial-file