]> granicus.if.org Git - vim/commitdiff
patch 8.2.3719: MS-Windows: test sometimes runs into existing swap file v8.2.3719
authorBram Moolenaar <Bram@vim.org>
Thu, 2 Dec 2021 12:30:22 +0000 (12:30 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 2 Dec 2021 12:30:22 +0000 (12:30 +0000)
Problem:    MS-Windows: test sometimes runs into existing swap file.
Solution:   Use a different file name.

src/testdir/test_buffer.vim
src/version.c

index aa2fe7ac6443eed3228f8131552e50ea1f9a7bd7..0d871383fa7ae19a4ae3d1c154f4c6b6730a7091 100644 (file)
@@ -389,12 +389,12 @@ func Test_buffer_scheme()
   set noshellslash
   %bwipe!
   let bufnames = [
-    \ #{id: 'b0', name: 'test://xyz/foo/b0'    , match: 1},
-    \ #{id: 'b1', name: 'test+abc://xyz/foo/b1', match: 0},
-    \ #{id: 'b2', name: 'test_abc://xyz/foo/b2', match: 0},
-    \ #{id: 'b3', name: 'test-abc://xyz/foo/b3', match: 1},
-    \ #{id: 'b4', name: '-test://xyz/foo/b4'   , match: 0},
-    \ #{id: 'b5', name: 'test-://xyz/foo/b5'   , match: 0},
+    \ #{id: 'ssb0', name: 'test://xyz/foo/ssb0'    , match: 1},
+    \ #{id: 'ssb1', name: 'test+abc://xyz/foo/ssb1', match: 0},
+    \ #{id: 'ssb2', name: 'test_abc://xyz/foo/ssb2', match: 0},
+    \ #{id: 'ssb3', name: 'test-abc://xyz/foo/ssb3', match: 1},
+    \ #{id: 'ssb4', name: '-test://xyz/foo/ssb4'   , match: 0},
+    \ #{id: 'ssb5', name: 'test-://xyz/foo/ssb5'   , match: 0},
     \]
   for buf in bufnames
     new `=buf.name`
index cf8f945500553e2808554a8e84972255b852c003..d977c653ad5c2352828b9570bdbe68613e3ee862 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3719,
 /**/
     3718,
 /**/