]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.0137: debugger test may fail when $CWD is very long v9.0.0137
authorJames McCoy <jamessan@jamessan.com>
Wed, 3 Aug 2022 15:13:27 +0000 (16:13 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 3 Aug 2022 15:13:27 +0000 (16:13 +0100)
Problem:    Debugger test may fail when $CWD is very long.
Solution:   Skip the test if the directory name is too long. (James McCoy,
            closes #10837)

src/testdir/test_debugger.vim
src/version.c

index b748a004daee6267e46d36f81628634d95fd7a07..e873b772529538f7fff6f380f92d35ad261adfb5 100644 (file)
@@ -364,6 +364,8 @@ endfunc
 
 " Test for expression breakpoint set using ":breakadd expr <expr>"
 func Test_Debugger_breakadd_expr()
+  CheckCWD
+
   let lines =<< trim END
     let g:Xtest_var += 1
   END
index b44c2483ec33bc15bfcbee7d01255c2e421fcc31..e3e72477695b67afb9630aecb8007019c0726957 100644 (file)
@@ -735,6 +735,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    137,
 /**/
     136,
 /**/