patch 7.4.1910
Problem:    Tests using external command to delete directory.
Solution:   Use delete().
diff --git a/src/testdir/test73.in b/src/testdir/test73.in
index 666e4d2..a0b9ae8 100644
--- a/src/testdir/test73.in
+++ b/src/testdir/test73.in
@@ -9,16 +9,9 @@
 :set visualbell
 :set nocp viminfo+=nviminfo
 :"
-:function! DeleteDirectory(dir)
-: if has("win16") || has("win32") || has("win64") || has("dos16") || has("dos32")
-:  exec "silent !rmdir /Q /S " . a:dir
-: else
-:  exec "silent !rm -rf " . a:dir
-: endif
-:endfun
 :" On windows a stale "Xfind" directory may exist, remove it so that
 :" we start from a clean state.
-:call DeleteDirectory("Xfind")
+:call delete("Xfind", "rf")
 :new
 :let cwd=getcwd()
 :let test_out = cwd . '/test.out'
@@ -170,7 +163,7 @@
 :exec "w >>" . test_out
 :q
 :exec "cd " . cwd
-:call DeleteDirectory("Xfind")
+:call delete("Xfind", "rf")
 :qa!
 ENDTEST