summaryrefslogtreecommitdiff
path: root/src/testdir/test_source.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-03 23:07:25 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-03 23:07:25 +0200
commitddd3308782e931a2c390d692cb23c40d8169bd6f (patch)
treecb381bc3e141f8f494e40c6a454d9cff170a93c6 /src/testdir/test_source.vim
parent02e15072be08ef4ae03d673fc95ed6234e749e1c (diff)
downloadvim-git-ddd3308782e931a2c390d692cb23c40d8169bd6f.tar.gz
patch 8.1.1461: tests do not run or are not reliable on some systemsv8.1.1461
Problem: Tests do not run or are not reliable on some systems. Solution: Use "findstr" instead of "grep" on MS-Windows. Clear PROMPT_COMMAND in the terminal test. Delete temp file. Wait for output after executing a debug command. (Yegappan Lakshmanan, closes #4479)
Diffstat (limited to 'src/testdir/test_source.vim')
-rw-r--r--src/testdir/test_source.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_source.vim b/src/testdir/test_source.vim
index 5166bafb1..09baec0b7 100644
--- a/src/testdir/test_source.vim
+++ b/src/testdir/test_source.vim
@@ -44,4 +44,5 @@ func Test_source_sandbox()
call assert_equal('hello', getline(1))
call assert_fails('sandbox source! Xsourcehello', 'E48:')
bwipe!
+ call delete('Xsourcehello')
endfunc