Mercurial > vim
comparison src/testdir/test_edit.vim @ 21580:93dae47699fb v8.2.1340
patch 8.2.1340: some tests fail on Cirrus CI and/or with FreeBSD
Commit: https://github.com/vim/vim/commit/b86abadf87bd0f85f800077171ec4b98aefff776
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 1 16:08:19 2020 +0200
patch 8.2.1340: some tests fail on Cirrus CI and/or with FreeBSD
Problem: Some tests fail on Cirrus CI and/or with FreeBSD.
Solution: Make 'backupskip' empty. Do not run tests as root. Check for
directory when using viminfo. (Ozaki Kiichi, closes #6596)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Aug 2020 16:15:04 +0200 |
parents | 505d97ea54da |
children | 08940efa6b4e |
comparison
equal
deleted
inserted
replaced
21579:30c6a9fb9e8d | 21580:93dae47699fb |
---|---|
1680 endfunc | 1680 endfunc |
1681 | 1681 |
1682 " Test for editing a file without read permission | 1682 " Test for editing a file without read permission |
1683 func Test_edit_file_no_read_perm() | 1683 func Test_edit_file_no_read_perm() |
1684 CheckUnix | 1684 CheckUnix |
1685 CheckNotBSD | |
1686 call writefile(['one', 'two'], 'Xfile') | 1685 call writefile(['one', 'two'], 'Xfile') |
1687 call setfperm('Xfile', '-w-------') | 1686 call setfperm('Xfile', '-w-------') |
1688 new | 1687 new |
1689 redir => msg | 1688 redir => msg |
1690 edit Xfile | 1689 edit Xfile |