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
b868d823
Commit
b868d823
authored
Mar 31, 2024
by
Eric Pouech
Committed by
Alexandre Julliard
Apr 01, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Add test for substring handling in 'magic' variable expansion.
Signed-off-by:
Eric Pouech
<
epouech@codeweavers.com
>
parent
29c0826e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
test_builtins.cmd
programs/cmd/tests/test_builtins.cmd
+6
-0
test_builtins.cmd.exp
programs/cmd/tests/test_builtins.cmd.exp
+2
-0
No files found.
programs/cmd/tests/test_builtins.cmd
View file @
b868d823
...
...
@@ -622,7 +622,13 @@ echo %WINE_VAR:~2,-1%
echo %WINE_VAR:~2,-3%
echo '%WINE_VAR:~-2,-4%'
echo %WINE_VAR:~-3,-2%
echo %WINE_VAR:~4,4%
set WINE_VAR=
mkdir dummydir
cd dummydir
echo %CD:~-6,6%
cd ..
rmdir dummydir
echo ------------ Testing variable substitution ------------
echo --- in FOR variables
...
...
programs/cmd/tests/test_builtins.cmd.exp
View file @
b868d823
...
...
@@ -532,6 +532,8 @@ ert@or_broken@qwerty
e@or_broken@qwerty
''@or_broken@'qwerty'
r@or_broken@qwerty
ty
@todo_wine@mmydir
------------ Testing variable substitution ------------
--- in FOR variables
"A B"
...
...
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