patch 9.0.0336: tests are flaky because of using a common file name
Problem: Tests are flaky because of using a common file name.
Solution: Rename files and directories to be more unique.
diff --git a/src/testdir/test_cpoptions.vim b/src/testdir/test_cpoptions.vim
index edb9b4b..600132d 100644
--- a/src/testdir/test_cpoptions.vim
+++ b/src/testdir/test_cpoptions.vim
@@ -31,17 +31,17 @@
" Wipe out all the buffers, so that the alternate file is empty
edit Xfoo | %bw
set cpo-=A
- new Xfile1
- write Xfile2
+ new XcpoAfile1
+ write XcpoAfile2
call assert_equal('', @#)
%bw
- call delete('Xfile2')
- new Xfile1
+ call delete('XcpoAfile2')
+ new XcpoAfile1
set cpo+=A
- write Xfile2
- call assert_equal('Xfile2', @#)
+ write XcpoAfile2
+ call assert_equal('XcpoAfile2', @#)
close!
- call delete('Xfile2')
+ call delete('XcpoAfile2')
let &cpo = save_cpo
endfunc