test49.vim assumes the binary is named 'vim'.
If the --with-vim-name option is used (such as "--with-vim-name=vim7")
then test49 fails.
Here is a minor patch that makes test49 respect the VIMPROG environment
variable from the Makefile, falling back to the current value
if not found:
--- vim70f/src/testdir/test49.vim.00 2006-02-28 05:36:54.000000000 -0800
+++ vim70f/src/testdir/test49.vim 2006-04-27 16:26:31.677399006 -0700
@@ -454,9 +454,10 @@
" pipe are consumed at the debug prompt. Use "-N" to enable command-line
" continuation ("C" in 'cpo'). Add "nviminfo" to 'viminfo' to avoid
" messing up the user's viminfo file.
+ let vimprog = exists($VIMPROG) ? $VIMPROG : "../vim"
let redirect = a:0 ?
\ " -c 'au VimLeave * redir END' -c 'redir\\! >" . a:1 . "'" : ""
- exec "!echo '" . debug_quits . "q' | ../vim -u NONE -N -Xes" . redirect .
+ exec "!echo '" . debug_quits . "q' | " . vimprog . " -u NONE -N -Xes" .
redirect .
\ " -c 'debuggreedy|set viminfo+=nviminfo'" .
\ " -c 'let ExtraVimBegin = " . extra_begin . "'" .
\ " -c 'let ExtraVimResult = \"" . resultfile . "\"'" . breakpoints .
--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Gregory H. Margo
gmargo at yahoo/com, gmail/com, pacbell/net; greg at margofamily/org