summaryrefslogtreecommitdiff
path: root/test/test_sandbox_execution.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-07-09 14:58:17 +0100
committerw0rp <devw0rp@gmail.com>2017-07-09 14:58:21 +0100
commit836a2cfe3b5ba2761291564cbf412ca79f9a52a9 (patch)
tree59eb08c4de6b7a823971b94817803a8598ea61fd /test/test_sandbox_execution.vader
parentc67d3b7e60b03ad52fe232b93b8867395dd8caa5 (diff)
downloadale-836a2cfe3b5ba2761291564cbf412ca79f9a52a9.zip
Fix issues with running individual tests, and get the Vim tests to run on certain machines again
Diffstat (limited to 'test/test_sandbox_execution.vader')
-rw-r--r--test/test_sandbox_execution.vader6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_sandbox_execution.vader b/test/test_sandbox_execution.vader
index dc0cb01c..7f4941fd 100644
--- a/test/test_sandbox_execution.vader
+++ b/test/test_sandbox_execution.vader
@@ -47,6 +47,12 @@ Execute(ALE shouldn't blow up when run from a sandbox):
sandbox call ale#Lint()
Execute(ALE shouldn't blow up if file cleanup happens in a sandbox):
+ " Make a call to an engine function first, so the function will be defined
+ " before we make the sandbox call.
+ "
+ " You are not allowed to define any functions in the sandbox.
+ call ale#engine#InitBufferInfo(3)
+
let g:ale_buffer_info[3] = {
\ 'temporary_file_list': ['/tmp/foo'],
\ 'temporary_directory_list': ['/tmp/bar'],