From df71537a12e454075e02824bb8f570e1e838ee64 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 6 Nov 2022 22:15:33 +0800 Subject: vim-patch:8.2.2570: tests fail when run as root Problem: Tests fail when run as root. Solution: Add a comment mentioning the expected failure. (issue vim/vim#7919) https://github.com/vim/vim/commit/f9a65505d1d93f3e67e5b8646bde3bbc44c70f7d Co-authored-by: Bram Moolenaar --- src/nvim/testdir/test_edit.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/testdir/test_edit.vim') diff --git a/src/nvim/testdir/test_edit.vim b/src/nvim/testdir/test_edit.vim index 4994e7af8f..bd7b5609a5 100644 --- a/src/nvim/testdir/test_edit.vim +++ b/src/nvim/testdir/test_edit.vim @@ -1834,6 +1834,7 @@ func Test_edit_charconvert() endfunc " Test for editing a file without read permission +" NOTE: if you run tests as root this will fail. Don't run tests as root! func Test_edit_file_no_read_perm() CheckUnix call writefile(['one', 'two'], 'Xfile') -- cgit