Hi Looking at vim/src/testdir/test72.vim (2436:aaa953373c91), I see this:
:" And now with encryption, cryptmethod=0 :e! Xtestfile :set undofile cm=0 ...snip... :" With encryption, cryptmethod=1 :e! Xtestfile :set undofile cm=1 cm=0 and cm=1 are obsolete and should be replaced with cm=zip and cm=blowfish. Attached patch fixes it. However, I'm surprised that the test did not fail when the wrong option was given since 'set cm=0' raises E474. It means that the test did not test undo with encryption as it was supposed to. This calls for additional changes to make test more robust (not done in attached patch). -- Dominique -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
diff -r 98b9a6b9e7d5 src/testdir/test72.in --- a/src/testdir/test72.in Thu Jul 29 20:59:59 2010 +0200 +++ b/src/testdir/test72.in Fri Jul 30 08:03:15 2010 +0200 @@ -49,9 +49,9 @@ :e Xtestfile uuu:w >>test.out :" -:" And now with encryption, cryptmethod=0 +:" And now with encryption, cryptmethod=zip :e! Xtestfile -:set undofile cm=0 +:set undofile cm=zip ggdG imonday tuesday @@ -72,9 +72,9 @@ uu:w >>test.out :" :" -:" With encryption, cryptmethod=1 +:" With encryption, cryptmethod=blowfish :e! Xtestfile -:set undofile cm=1 +:set undofile cm=blowfish ggdG ijan feb
