dotfiles/.vim/bundle/lusty/tests/root-navigation-nonexistent-file/expect
michener c47f86d55b Add a bunch of stuff, change leader key
git-svn-id: http://photonzero.com/dotfiles/trunk@70 23f722f6-122a-0410-8cef-c75bd312dd78
2010-10-09 02:28:34 +00:00

36 lines
486 B
Text

spawn $env(VIM) -N --noplugin -u ../vimrc
set timeout 3
expect {
timeout {exit 1}
"VIM - Vi IMproved"
}
send ":LustyFilesystemExplorer\r"
expect {
timeout {exit 1}
">>"
}
# Ctrl-U
send \025
send "/"
# Should not have caused a backtrace and "Press ENTER ..." message
expect {
"Press ENTER" {exit 1}
timeout {exit 1}
"/"
}
send "12hlx"
expect {
"Press ENTER" {exit 1}
timeout {exit 1}
"12hlx"
}
# ESC
send \033
send ":q\r"
expect {
timeout {exit 1}
eof
}
exit 0