Re: Test test_getcwd needs to have noswapfile option set

2016-09-05 Fir de Conversatie Bram Moolenaar

Michael Soyka wrote:

> The Vim test "test_getcwd" creates a temporary directory "Xtopdir" that 
> should be deleted at test conclusion but is not. This directory is not 
> deleted because the test has created swap files that apparently are open 
> when the test attempts to cleanup before terminating.
> 
> Setting the noswapfile option when the test begins, say by appending it 
> to line 10, fixes this problem.
> 
> I've noticed and fixed this problem under Windows 10.

I didn't notice it and I was specifically looking for files left behind
(git status shows them).  Perhaps there is a later test that does delete
the directory.  Anyway, I'll include your suggested fix.

-- 
If Microsoft would build a car...
... Occasionally your car would die on the freeway for no
reason. You would have to pull over to the side of the road,
close all of the car windows, shut it off, restart it, and
reopen the windows before you could continue. For some reason
you would simply accept this.

 /// 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Test test_getcwd needs to have noswapfile option set

2016-09-04 Fir de Conversatie Michael Soyka
The Vim test "test_getcwd" creates a temporary directory "Xtopdir" that 
should be deleted at test conclusion but is not. This directory is not 
deleted because the test has created swap files that apparently are open 
when the test attempts to cleanup before terminating.


Setting the noswapfile option when the test begins, say by appending it 
to line 10, fixes this problem.


I've noticed and fixed this problem under Windows 10.

- mike



--
--
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

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.