Commit 0b10003d authored by Octavian Voicu's avatar Octavian Voicu Committed by Alexandre Julliard

cmd/tests: Test del /s recursion in subdirectories with colons.

parent abf5b64f
...@@ -854,6 +854,7 @@ rmdir del_q_dir ...@@ -854,6 +854,7 @@ rmdir del_q_dir
echo ------------ Testing del /s -------------- echo ------------ Testing del /s --------------
mkdir "foo bar" mkdir "foo bar"
cd "foo bar" cd "foo bar"
mkdir "foo:"
echo hi > file1.dat echo hi > file1.dat
echo there > file2.dat echo there > file2.dat
echo bub > file3.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 ...@@ -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 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" echo Del /s failed on "file with spaces.dat"
if exist "file with spaces.dat" del "file with spaces.dat" if exist "file with spaces.dat" del "file with spaces.dat"
rmdir "foo:"
cd .. cd ..
rmdir "foo bar" rmdir "foo bar"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment