Brain Burns wrote: > On 07/10/2012 06:31 AM, Bram Moolenaar wrote: > > > > Brian Burns wrote: > > > >> I've attached some basic tests. > >> I'm not sure if what I'm doing here would work on all systems, > >> but it's a start. Let me know what you think. > > > > Thanks. It's nice to have a test for this, there was nothing before. > > > > It is rather Unix-specific, but that's hard to avoid. We can only run > > this test from the Unix Makefile so that we don't even try on other > > systems. > > > > Even the Unix version may not have the clientserver feature. We can > > check that at the start: > > > > STARTTEST > > :so small.vim > > :" drop out when the clientserver features is not supported > > :if !has("clientserver") > > : e! test.ok > > : w! test.out > > : qa! > > :endif > > > > If the test fails halfway then the test server keeps running. I think > > it's better to kill it from the Makefile. > > > > You can use v:progname for the Vim program name. It doesn't include the > > path though. > > > > I've attached a patch which includes an updated test and Makefile, with > the server being started and stopped in the Makefile. Also included is a > change to serverPeekReply() and an added note for ServerWait().
[...] Thanks! I'll look into it later. -- hundred-and-one symptoms of being an internet addict: 121. You ask for e-mail adresses instead of telephone numbers. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- 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