From 0b10003d4a34ef9d2325fd6fac72aecff3af553d Mon Sep 17 00:00:00 2001 From: Octavian Voicu Date: Tue, 30 Aug 2011 15:19:28 +0300 Subject: [PATCH] cmd/tests: Test del /s recursion in subdirectories with colons. --- programs/cmd/tests/test_builtins.cmd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/programs/cmd/tests/test_builtins.cmd b/programs/cmd/tests/test_builtins.cmd index b975d385dbc..f473b913d1f 100644 --- a/programs/cmd/tests/test_builtins.cmd +++ b/programs/cmd/tests/test_builtins.cmd @@ -854,6 +854,7 @@ rmdir del_q_dir echo ------------ Testing del /s -------------- mkdir "foo bar" cd "foo bar" +mkdir "foo:" echo hi > file1.dat echo there > file2.dat echo bub > file3.dat @@ -868,6 +869,7 @@ for %%f in (1 2 3) do if exist file%%f.dat echo Del /s failed on file%%f for %%f in (1 2 3) do if exist file%%f.dat del file%%f.dat if exist "file with spaces.dat" echo Del /s failed on "file with spaces.dat" if exist "file with spaces.dat" del "file with spaces.dat" +rmdir "foo:" cd .. rmdir "foo bar"