Hi James,
2016-3-30(Wed) 11:53:13 UTC+9 James McCoy:
> Currently, test_backspace_opt.vim and test_viminfo.vim hit E138 if $HOME
> isn't writable and wait for the user to press enter. I noticed this since
> Debian's builds run with $HOME set to a non-existent directory to ensure the
> build/test process doesn't rely on modifying the user's environment.
>
>
> A simple way to reproduce is to run the tests like env HOME=/nonexistent/dir
> make test.
Reported issue is fixed by attached patch.
Please confirm this.
Thanks.
--
Best regards,
Hirohito Higashi (a.k.a. h_east)
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/testdir/test_backspace_opt.vim b/src/testdir/test_backspace_opt.vim
index f80e831..7fbba96 100644
--- a/src/testdir/test_backspace_opt.vim
+++ b/src/testdir/test_backspace_opt.vim
@@ -53,7 +53,7 @@ func Test_backspace_option()
" Cleared when 'compatible' is set
set compatible
call assert_equal('', &backspace)
- set nocompatible
+ set nocompatible viminfo+=nviminfo
endfunc
" vim: tabstop=2 shiftwidth=0 expandtab
diff --git a/src/testdir/test_viminfo.vim b/src/testdir/test_viminfo.vim
index 3efe75e..342895e 100644
--- a/src/testdir/test_viminfo.vim
+++ b/src/testdir/test_viminfo.vim
@@ -1,5 +1,9 @@
" Test for reading and writing .viminfo
+if !filewritable('Xviminfo')
+ finish
+endif
+
function Test_read_and_write()
let lines = [
\ '# comment line',