Created
February 22, 2012 09:59
-
-
Save mattn/1883728 to your computer and use it in GitHub Desktop.
tests for patch 7.3.437
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set noshelltemp | |
set noshellslash | |
echo system('ls') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set shellcmdflag=/s\ /c | |
set shellxquote=\" | |
!start explorer.exe C:\Documents and Settings\ | |
!start explorer.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set noshelltemp | |
set shellxquote& | |
echo system('ls') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
silent call delete('test4.txt') | |
!start cmd /c "ls | nkf -s > ./test4.txt" | |
sleep 200ms | |
if filereadable('test4.txt') | |
echo readfile('test4.txt') | |
else | |
echo 'failed' | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
silent call delete('test5.txt') | |
!start /b cmd /c ls | nkf -s > ./test5.txt | |
sleep 200ms | |
if filereadable('test5.txt') | |
echo readfile('test5.txt') | |
else | |
echo 'failed' | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
silent call delete('test6.txt') | |
!start /min cmd /c ls | nkf -s > ./test6.txt | |
sleep 200ms | |
if filereadable('test6.txt') | |
echo readfile('test6.txt') | |
else | |
echo 'failed' | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
silent call delete('test7.txt') | |
" | |
!start /b cmd /c echo 1vim_free | cscope -dl -f cscope.out | C:\cygwin\bin\sed --regexp-extended -e "s/(\S+) (\S+) ([0-9]+)/\1:\3 \2 ^I/" > ./test7.txt | |
sleep 200ms | |
if filereadable('test7.txt') | |
echo readfile('test7.txt') | |
else | |
echo 'failed' | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
silent call delete('test8.txt') | |
" | |
!start /b cmd /c echo "(>|)" | grep ">" > ./test8.txt | |
sleep 200ms | |
if filereadable('test8.txt') | |
echo readfile('test8.txt') | |
else | |
echo 'failed' | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!start rundll32 url.dll,FileProtocolHandler http://www.google.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment