Commit 9aee47f7 authored by Liam Middlebrook's avatar Liam Middlebrook Committed by Alexandre Julliard

cmd/tests: Add tests for PATH separator.

parent a19c8712
......@@ -3294,6 +3294,29 @@ path try2
path
path=try3
path
echo ------------ Testing PATH Evaluate ------------
mkdir folder
echo echo I'm here! > folder\sub1.bat
echo Test normal PATH usage
set path=%cd%\folder
call sub1.bat
echo Test PATH usage with leading semicolon
set path=;%cd%\folder
call sub1.bat
echo Test PATH usage with fallback path
set path=%cd%;%cd%\folder
call sub1.bat
echo Test PATH usage with double semicolon
set path=%cd%;;%cd%\folder
call sub1.bat
del folder\sub1.bat
rmdir folder
set path=%WINE_backup_path%
set WINE_backup_path=
......
......@@ -1680,6 +1680,15 @@ Finished
PATH=original
PATH=try2
PATH=try3
------------ Testing PATH Evaluate ------------
Test normal PATH usage
I'm here!@space@
Test PATH usage with leading semicolon
I'm here!@space@
Test PATH usage with fallback path
I'm here!@space@
Test PATH usage with double semicolon
I'm here!@space@
------------ Testing start /W ------------
start /W seems to really wait
------------ Testing changing the drive letter ----------
......
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