On Thu, Aug 05, 2010 at 09:56:29PM +0200, Bram Moolenaar wrote:
> Nazri Ramliy wrote:
> > test73.in should now run successfully on both unix and windows.
> 
> Thank you very much for fixing the problems and enhancing the test.
> 
> I'll include this and check that it works for me.
> The Xfind directory wasn't removed, you had the last :cd commented-out.
> 
> Hmm, the test passes, but it rings the bell a lot.
> I can fix one (the empty line).  The others appear to be for when
> completion of :find fails.  I'm not sure how to avoid that.
> I'll add ":set visualbell".

Attached patch also adjusts 'viminfo' appropriately so that the user's
viminfo isn't overwritten.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <james...@jamessan.com>
diff --git a/src/testdir/test73.in b/src/testdir/test73.in
--- a/src/testdir/test73.in
+++ b/src/testdir/test73.in
@@ -5,7 +5,7 @@
 :" delete the Xfind directory during cleanup
 :"
 :" This will cause a few errors, do it silently.
-:set visualbell
+:set nocp viminfo+=nviminfo visualbell
 :"
 :function! DeleteDirectory(dir)
 : if has("win16") || has("win32") || has("win64")
@@ -17,7 +17,6 @@
 :" On windows a stale "Xfind" directory may exist, remove it so that
 :" we start from a clean state.
 :call DeleteDirectory("Xfind")
-:set nocp
 :new
 :let cwd=getcwd()
 :!mkdir Xfind

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui