summaryrefslogtreecommitdiff
path: root/src/testdir/check.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-03-29 20:49:05 +0200
committerBram Moolenaar <Bram@vim.org>2021-03-29 20:49:05 +0200
commit8b9abfd86c736ed3f298dfa8b50a962c118b3983 (patch)
tree65874e39326cd7bfa6f8a73861bb00d01d5e4d76 /src/testdir/check.vim
parent9dbe701fe19597ad59c0e0c70a05927b587bea9f (diff)
downloadvim-git-8b9abfd86c736ed3f298dfa8b50a962c118b3983.tar.gz
patch 8.2.2675: directory change in a terminal window shell is not followedv8.2.2675
Problem: Directory change in a terminal window shell is not followed. Solution: Add the 'autoshelldir' option. (closes #6290)
Diffstat (limited to 'src/testdir/check.vim')
-rw-r--r--src/testdir/check.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/check.vim b/src/testdir/check.vim
index 6190399e5..4c5f3eef5 100644
--- a/src/testdir/check.vim
+++ b/src/testdir/check.vim
@@ -92,6 +92,14 @@ func CheckLinux()
endif
endfunc
+" Command to check for not running on a BSD system.
+command CheckNotBSD call CheckNotBSD()
+func CheckNotBSD()
+ if has('bsd')
+ throw 'Skipped: does not work on BSD'
+ endif
+endfunc
+
" Command to check that making screendumps is supported.
" Caller must source screendump.vim
command CheckScreendump call CheckScreendump()