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
2e928530
Commit
2e928530
authored
Nov 08, 2012
by
Jason Edmeades
Committed by
Alexandre Julliard
Nov 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Prevent external env vars causing tests to fail.
parent
47b35d55
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
test_builtins.cmd
programs/cmd/tests/test_builtins.cmd
+0
-0
test_builtins.cmd.exp
programs/cmd/tests/test_builtins.cmd.exp
+18
-18
No files found.
programs/cmd/tests/test_builtins.cmd
View file @
2e928530
This diff is collapsed.
Click to expand it.
programs/cmd/tests/test_builtins.cmd.exp
View file @
2e928530
...
...
@@ -220,32 +220,32 @@ baz@space@
foo > foo
<
ffoof
FOO=bar | baz
WINE_
FOO=bar | baz
0
FOO=bar ^| baz
WINE_
FOO=bar ^| baz
bar | baz
0
------------ Testing 'set' ------------
1
0
FOOBAR not defined
WINE_
FOOBAR not defined
baz
FOOBAR = baz
WINE_
FOOBAR = baz
0
baz2
0
bar
FOOBAR= bar
FOOBAR = baz2
FOOBAR = baz2
FOOBAR not defined
WINE_
FOOBAR= bar
WINE_
FOOBAR = baz2
WINE_
FOOBAR = baz2
WINE_
FOOBAR not defined
1
bar
foobar
FOO not defined
BAZ=bazbaz
WINE_
FOO not defined
WINE_
BAZ=bazbaz
bazbaz
set "FOO=bar" should not include the quotes in the variable value
set "
WINE_
FOO=bar" should not include the quotes in the variable value
bar
foo
''
...
...
@@ -349,23 +349,23 @@ N
------------ Testing variable delayed expansion ------------
--- default mode (load-time expansion)
foo
!FOO!
!
WINE_
FOO!
foo
foo
--- runtime (delayed) expansion mode
foo
@todo_wine@foo@or_broken@!FOO!
@todo_wine@foo@or_broken@!
WINE_
FOO!
foo
@todo_wine@bar@or_broken@foo
0
0@or_broken@1
foo
!FOO!
!
WINE_
FOO!
--- using /V cmd flag
foo
@todo_wine@foo@or_broken@!FOO!
@todo_wine@foo@or_broken@!
WINE_
FOO!
foo
!FOO!
!
WINE_
FOO!
------------ Testing conditional execution ------------
--- unconditional ampersand
foo1
...
...
@@ -764,7 +764,7 @@ ErrorLevel 0
@todo_wine@15
------ variables
@todo_wine@3
@todo_wine@3@or_broken@foo not defined
@todo_wine@3@or_broken@
WINE_
foo not defined
@todo_wine@3@or_broken@0
@todo_wine@3@or_broken@0
@todo_wine@3@or_broken@0
...
...
@@ -1011,7 +1011,7 @@ footype=foo_opencmd
+++
footype=foo_opencmd
--- resetting association
@todo_wine@original value@or_broken@buggyXP@or_broken@!FOO!
@todo_wine@original value@or_broken@buggyXP@or_broken@!
WINE_
FOO!
------------ Testing CALL ------------
--- external script
foo@space@
...
...
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