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
6f7d0625
Commit
6f7d0625
authored
Aug 17, 2022
by
Robert Wilhelm
Committed by
Alexandre Julliard
Aug 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wshom: Add test for default style arg in WshShell3_Run.
parent
b6a7a385
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
wshom.c
dlls/wshom.ocx/tests/wshom.c
+12
-0
No files found.
dlls/wshom.ocx/tests/wshom.c
View file @
6f7d0625
...
...
@@ -243,12 +243,24 @@ static void test_wshshell(void)
ok
(
retval
==
10
,
"Unexpected retval %d.
\n
"
,
retval
);
SysFreeString
(
str
);
V_VT
(
&
arg
)
=
VT_ERROR
;
V_ERROR
(
&
arg
)
=
DISP_E_PARAMNOTFOUND
;
V_VT
(
&
arg2
)
=
VT_BOOL
;
V_BOOL
(
&
arg2
)
=
VARIANT_TRUE
;
retval
=
0xdeadbeef
;
str
=
SysAllocString
(
L"cmd.exe /c rd /s /q c:
\\
nosuchdir"
);
hr
=
IWshShell3_Run
(
sh3
,
str
,
&
arg
,
&
arg2
,
&
retval
);
todo_wine
ok
(
hr
==
S_OK
,
"Unexpected hr %#lx.
\n
"
,
hr
);
todo_wine
ok
(
retval
==
ERROR_FILE_NOT_FOUND
,
"Unexpected retval %d.
\n
"
,
retval
);
SysFreeString
(
str
);
V_VT
(
&
arg
)
=
VT_I2
;
V_I2
(
&
arg
)
=
0
;
retval
=
0xdeadbeef
;
str
=
SysAllocString
(
L"cmd.exe /c rd /s /q c:
\\
nosuchdir"
);
hr
=
IWshShell3_Run
(
sh3
,
str
,
&
arg
,
&
arg2
,
&
retval
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#lx.
\n
"
,
hr
);
todo_wine
ok
(
retval
==
ERROR_FILE_NOT_FOUND
,
"Unexpected retval %d.
\n
"
,
retval
);
SysFreeString
(
str
);
...
...
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