public
Created

tests for patch 7.3.437

  • Download Gist
test1.vim
VimL
1 2 3
set noshelltemp
set noshellslash
echo system('ls')
test2.vim
VimL
1 2 3 4
set shellcmdflag=/s\ /c
set shellxquote=\"
!start explorer.exe C:\Documents and Settings\
!start explorer.exe
test3.vim
VimL
1 2 3
set noshelltemp
set shellxquote&
echo system('ls')
test4.vim
VimL
1 2 3 4 5 6 7 8 9
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
test5.vim
VimL
1 2 3 4 5 6 7 8 9
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
test6.vim
VimL
1 2 3 4 5 6 7 8 9
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
test7.vim
VimL
1 2 3 4 5 6 7 8 9 10
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
test8.vim
VimL
1 2 3 4 5 6 7 8 9 10
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
test9.vim
VimL
1
!start rundll32 url.dll,FileProtocolHandler http://www.google.com

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.