Fix tests/mhparam/test-mhparam
[mmh] / test / tests / mhparam / test-mhparam
index 7f21be3..4b95500 100755 (executable)
@@ -134,9 +134,12 @@ alice@example.org,   bob@example.net,  charly@example.comp
 # check with text file that does not end with newline
 # in mmh this is invalid
 printf 'Editor: emacs' >>"$MMHP"
+export VISUAL=ed
 runandcheck 'mhparam -nocomponent editor' <<!
 mhparam: `cat test-temp-dir`/.mmh/profile2 is poorly formatted
+$VISUAL
 !
+unset VISUAL
 
 
 exit