Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9aee47f7
Commit
9aee47f7
authored
Jun 20, 2023
by
Liam Middlebrook
Committed by
Alexandre Julliard
Jun 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/tests: Add tests for PATH separator.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55097
Signed-off-by:
Liam Middlebrook
<
lmiddlebrook@nvidia.com
>
parent
a19c8712
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
test_builtins.cmd
programs/cmd/tests/test_builtins.cmd
+23
-0
test_builtins.cmd.exp
programs/cmd/tests/test_builtins.cmd.exp
+9
-0
No files found.
programs/cmd/tests/test_builtins.cmd
View file @
9aee47f7
...
...
@@ -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=
...
...
programs/cmd/tests/test_builtins.cmd.exp
View file @
9aee47f7
...
...
@@ -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 ----------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment