Mercurial > vim
changeset 5080:d6ceddc0be86 v7.3.1283
updated for version 7.3.1283
Problem: Test 71 fails on MS-Windows.
Solution: Put the binary data in a separate file. (Ken Takata)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 01 Jul 2013 21:00:35 +0200 |
parents | 7798d6f89190 |
children | 2481741c0706 |
files | src/testdir/test71.in src/testdir/test71a.in src/version.c |
diffstat | 3 files changed, 21 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test71.in +++ b/src/testdir/test71.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'Þ}Mg ê£V©çE#3Ž2Ué— -end of cm=zip bytes - -start of cm=blowfish bytes -VimCrypt~02!k)¾—#ÝSœõ=ºàÈ#¥M´†JÃAÍ¥M´†!€›õáÒ‚˜÷ Ú -end of cm=blowfish bytes
new file mode 100644 --- /dev/null +++ b/src/testdir/test71a.in @@ -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'Þ}Mg ê£V©çE#3Ž2Ué— +end of cm=zip bytes + +start of cm=blowfish bytes +VimCrypt~02!k)¾—#ÝSœõ=ºàÈ#¥M´†JÃAÍ¥M´†!€›õáÒ‚˜÷ Ú +end of cm=blowfish bytes