From 3ea5fa7a11ba391a1dae0bb6a413d236712fe52b Mon Sep 17 00:00:00 2001
From: Bram Moolenaar <Bram@vim.org>
Date: Wed, 4 Aug 2010 18:27:57 +0200
Subject: [PATCH] Make test 73 a bit more portable.

---
 runtime/doc/todo.txt     |  2 ++
 src/testdir/Make_dos.mak |  1 +
 src/testdir/test73.in    | 10 ++++++----
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 1880014a95..c3f436170b 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -33,6 +33,8 @@ be worked on, but only if you sponsor Vim development.  See |sponsor|.
 Before release 7.3:
 - Rename vim73 branch to default (hints: Xavier de Gaye, 2010 May 23)
 
+test73 doesn't work on MS-Windows.
+
 test72 causes a beep for using "u" when it doesn't work.
 
 Cursor positioning wrong with 0x200e character. (John Becket, 2010 May 6)
diff --git a/src/testdir/Make_dos.mak b/src/testdir/Make_dos.mak
index 94b44c2423..be253c9b7b 100644
--- a/src/testdir/Make_dos.mak
+++ b/src/testdir/Make_dos.mak
@@ -59,6 +59,7 @@ clean:
 	-if exist mbyte.vim del mbyte.vim
 	-if exist mzscheme.vim del mzscheme.vim
 	-del X*
+	-del X*.*
 	-if exist viminfo del viminfo
 
 .in.out:
diff --git a/src/testdir/test73.in b/src/testdir/test73.in
index 822dde3f5a..8928aeb2d6 100644
--- a/src/testdir/test73.in
+++ b/src/testdir/test73.in
@@ -1,13 +1,15 @@
 Tests for find completion.
 
 STARTTEST
-:!mkdir -p Xfind/in/path
+:!mkdir Xfind
+:!mkdir Xfind/in
+:!mkdir Xfind/in/path
 :e Xfind/file.txt
-aHoly Grail:w
+SHoly Grail:w
 :e Xfind/in/file.txt
-aJimmy Hoffa:w
+SJimmy Hoffa:w
 :e Xfind/in/path/file.txt
-aE.T.:w
+SE.T.:w
 :set path=Xfind/**
 :set nocp
 :find file	
-- 
GitLab