cmd/tests: Test multiple params mkdir.
This commit is contained in:
parent
2844991f7e
commit
9e57a09bb5
|
@ -367,6 +367,15 @@ if not exist foo (
|
||||||
cd ..
|
cd ..
|
||||||
rmdir foo
|
rmdir foo
|
||||||
)
|
)
|
||||||
|
rem multiples directories at once
|
||||||
|
mkdir foobaz & cd foobaz
|
||||||
|
mkdir foo bar\baz foobar
|
||||||
|
if exist foo (echo foo created) else echo foo not created!
|
||||||
|
if exist bar (echo bar created) else echo bar not created!
|
||||||
|
if exist foobar (echo foobar created) else echo foobar not created!
|
||||||
|
if exist bar\baz (echo bar\baz created) else echo bar\baz not created!
|
||||||
|
cd ..
|
||||||
|
rd /s/q foobaz
|
||||||
|
|
||||||
echo ----------- Testing rmdir -----------
|
echo ----------- Testing rmdir -----------
|
||||||
call :setError 0
|
call :setError 0
|
||||||
|
|
|
@ -192,6 +192,10 @@ dir created
|
||||||
@todo_wine@ok, foo created
|
@todo_wine@ok, foo created
|
||||||
@todo_wine@1
|
@todo_wine@1
|
||||||
@todo_wine@ok, foo\bar created
|
@todo_wine@ok, foo\bar created
|
||||||
|
foo created
|
||||||
|
@todo_wine@bar created
|
||||||
|
@todo_wine@foobar created
|
||||||
|
@todo_wine@bar\baz created
|
||||||
----------- Testing rmdir -----------
|
----------- Testing rmdir -----------
|
||||||
0
|
0
|
||||||
dir removed
|
dir removed
|
||||||
|
|
Loading…
Reference in New Issue