mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 19:49:50 +00:00
cmd/tests: Add basic cd tests.
This commit is contained in:
parent
ff501904a7
commit
6bd0671f07
2 changed files with 45 additions and 0 deletions
|
@ -244,6 +244,38 @@ if exist bar6 (
|
|||
del bar6
|
||||
)
|
||||
|
||||
echo ------------ Testing cd ------------
|
||||
mkdir foobar
|
||||
cd foobar
|
||||
echo blabla > singleFile
|
||||
dir /b
|
||||
echo Current dir: %CD%
|
||||
cd
|
||||
cd ..
|
||||
cd
|
||||
cd foobar@space@
|
||||
cd
|
||||
cd ..
|
||||
cd
|
||||
cd @space@foobar
|
||||
cd
|
||||
cd..
|
||||
cd
|
||||
cd foobar
|
||||
cd..@space@
|
||||
cd
|
||||
if not exist foobar (cd ..)
|
||||
cd foobar
|
||||
mkdir "bar bak"
|
||||
cd "bar bak"
|
||||
cd
|
||||
cd ..
|
||||
cd bar bak
|
||||
cd
|
||||
cd ..\..
|
||||
cd
|
||||
rd /Q/s foobar
|
||||
|
||||
echo ------------ Testing type ------------
|
||||
echo bar> foobaz
|
||||
@echo on
|
||||
|
|
|
@ -179,6 +179,19 @@ foo4
|
|||
@todo_wine@...on failure conditional ||
|
||||
@todo_wine@foo5
|
||||
@todo_wine@foo6@space@
|
||||
------------ Testing cd ------------
|
||||
singleFile
|
||||
Current dir: @pwd@\foobar@or_broken@Current dir:@space@
|
||||
@pwd@\foobar
|
||||
@pwd@
|
||||
@pwd@\foobar
|
||||
@pwd@
|
||||
@pwd@\foobar
|
||||
@pwd@
|
||||
@todo_wine@@pwd@
|
||||
@pwd@\foobar\bar bak
|
||||
@pwd@\foobar\bar bak
|
||||
@pwd@
|
||||
------------ Testing type ------------
|
||||
|
||||
@pwd@>type foobaz@space@
|
||||
|
|
Loading…
Reference in a new issue