summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-10-22 15:11:37 +0100
committerBram Moolenaar <Bram@vim.org>2021-10-22 15:11:37 +0100
commit5a5c111e79d1ea4b24133eaf44deab42a8e78eed (patch)
tree0fb60ca3a4cebc6a2f5a772cfbcdef853335ea6c
parent47810464aa4f9edbf222c02a860a3ec560b0b7a1 (diff)
downloadvim-git-5a5c111e79d1ea4b24133eaf44deab42a8e78eed.tar.gz
patch 8.2.3553: xxd test fails on MS-Windowsv8.2.3553
Problem: Xxd test fails on MS-Windows. Solution: Split shell command in two.
-rw-r--r--src/testdir/test_xxd.vim21
-rw-r--r--src/version.c2
2 files changed, 16 insertions, 7 deletions
diff --git a/src/testdir/test_xxd.vim b/src/testdir/test_xxd.vim
index fec012212..7768f9044 100644
--- a/src/testdir/test_xxd.vim
+++ b/src/testdir/test_xxd.vim
@@ -214,31 +214,38 @@ func Test_xxd()
endfunc
func Test_xxd_patch()
- let cmd = 'silent !' .. s:xxd_cmd .. ' -r Xxxdin Xxxdfile; ' .. s:xxd_cmd .. ' -g1 Xxxdfile > Xxxdout'
+ let cmd1 = 'silent !' .. s:xxd_cmd .. ' -r Xxxdin Xxxdfile'
+ let cmd2 = 'silent !' .. s:xxd_cmd .. ' -g1 Xxxdfile > Xxxdout'
call writefile(["2: 41 41", "8: 42 42"], 'Xxxdin')
call writefile(['::::::::'], 'Xxxdfile')
- exe cmd
+ exe cmd1
+ exe cmd2
call assert_equal(['00000000: 3a 3a 41 41 3a 3a 3a 3a 42 42 ::AA::::BB'], readfile('Xxxdout'))
call writefile(["2: 43 43 ", "8: 44 44"], 'Xxxdin')
- exe cmd
+ exe cmd1
+ exe cmd2
call assert_equal(['00000000: 3a 3a 43 43 3a 3a 3a 3a 44 44 ::CC::::DD'], readfile('Xxxdout'))
call writefile(["2: 45 45 ", "8: 46 46"], 'Xxxdin')
- exe cmd
+ exe cmd1
+ exe cmd2
call assert_equal(['00000000: 3a 3a 45 45 3a 3a 3a 3a 46 46 ::EE::::FF'], readfile('Xxxdout'))
call writefile(["2: 41 41", "08: 42 42"], 'Xxxdin')
call writefile(['::::::::'], 'Xxxdfile')
- exe cmd
+ exe cmd1
+ exe cmd2
call assert_equal(['00000000: 3a 3a 41 41 3a 3a 3a 3a 42 42 ::AA::::BB'], readfile('Xxxdout'))
call writefile(["2: 43 43 ", "09: 44 44"], 'Xxxdin')
- exe cmd
+ exe cmd1
+ exe cmd2
call assert_equal(['00000000: 3a 3a 43 43 3a 3a 3a 3a 42 44 44 ::CC::::BDD'], readfile('Xxxdout'))
call writefile(["2: 45 45 ", "0a: 46 46"], 'Xxxdin')
- exe cmd
+ exe cmd1
+ exe cmd2
call assert_equal(['00000000: 3a 3a 45 45 3a 3a 3a 3a 42 44 46 46 ::EE::::BDFF'], readfile('Xxxdout'))
call delete('Xxxdin')
diff --git a/src/version.c b/src/version.c
index 01437619b..8babe7017 100644
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3553,
+/**/
3552,
/**/
3551,