forked from aniani/vim
updated for version 7.3.1283
Problem: Test 71 fails on MS-Windows. Solution: Put the binary data in a separate file. (Ken Takata)
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
Test for encryption.
|
||||
The test data is in another file to avoid problems with 'encoding', especially
|
||||
cp932.
|
||||
|
||||
STARTTEST
|
||||
:so small.vim
|
||||
:set enc=latin1
|
||||
:bwipe!
|
||||
:r test71a.in
|
||||
:/^start of text/+1
|
||||
:let text_lines = getline('.', line('.') + 2)
|
||||
:/^start of cm=zip bytes/+1
|
||||
@@ -60,16 +65,3 @@ barbar
|
||||
:qa!
|
||||
ENDTEST
|
||||
|
||||
start of text
|
||||
01234567890123456789012345678901234567
|
||||
line 2 foo bar blah
|
||||
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
end of text
|
||||
|
||||
start of cm=zip bytes
|
||||
VimCrypt~01!lV'<27>}Mg<4D><67><EFBFBD>V<EFBFBD><56>E#3<>2U<32><55>
|
||||
end of cm=zip bytes
|
||||
|
||||
start of cm=blowfish bytes
|
||||
VimCrypt~02!k)<29><17>#<16>S<EFBFBD><53>=<3D><><EFBFBD>#<23>M<EFBFBD><4D>J<EFBFBD>AͥM<CDA5><4D>!<21><15><><0F><><19><16><>
|
||||
<EFBFBD>
|
||||
|
14
src/testdir/test71a.in
Normal file
14
src/testdir/test71a.in
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
start of text
|
||||
01234567890123456789012345678901234567
|
||||
line 2 foo bar blah
|
||||
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
end of text
|
||||
|
||||
start of cm=zip bytes
|
||||
VimCrypt~01!lV'<27>}Mg<4D><67><EFBFBD>V<EFBFBD><56>E#3<>2U<32><55>
|
||||
end of cm=zip bytes
|
||||
|
||||
start of cm=blowfish bytes
|
||||
VimCrypt~02!k)<29><17>#<16>S<EFBFBD><53>=<3D><><EFBFBD>#<23>M<EFBFBD><4D>J<EFBFBD>AͥM<CDA5><4D>!<21><15><><0F><><19><16><>
|
||||
<EFBFBD>
|
@@ -728,6 +728,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1283,
|
||||
/**/
|
||||
1282,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user