From 5c69f8569ad2013b1d97afd2fbefd6bda8e8379f Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 13 Nov 2023 08:57:55 +0800 Subject: [PATCH] vim-patch:9.0.0137: debugger test may fail when $CWD is very long Problem: Debugger test may fail when $CWD is very long. Solution: Skip the test if the directory name is too long. (James McCoy, closes vim/vim#10837) https://github.com/vim/vim/commit/db7a88db8b52508d3df6d5947f7c4f3ef05d5f62 Co-authored-by: James McCoy --- test/old/testdir/test_debugger.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/old/testdir/test_debugger.vim b/test/old/testdir/test_debugger.vim index 7ac45a0bd4..f6b186d090 100644 --- a/test/old/testdir/test_debugger.vim +++ b/test/old/testdir/test_debugger.vim @@ -366,6 +366,8 @@ endfunc " Test for expression breakpoint set using ":breakadd expr " func Test_Debugger_breakadd_expr() CheckRunVimInTerminal + CheckCWD + let lines =<< trim END let g:Xtest_var += 1 END