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
1becda46
Commit
1becda46
authored
Dec 08, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Dec 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Fix test error when run as non-administrator.
parent
66b4ad20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
winhttp.c
dlls/winhttp/tests/winhttp.c
+10
-3
No files found.
dlls/winhttp/tests/winhttp.c
View file @
1becda46
...
...
@@ -1000,9 +1000,16 @@ static void test_set_default_proxy_config(void)
info
.
lpszProxy
=
normalString
;
SetLastError
(
0xdeadbeef
);
ret
=
WinHttpSetDefaultProxyConfiguration
(
&
info
);
ok
(
ret
,
"WinHttpSetDefaultProxyConfiguration failed: %d
\n
"
,
GetLastError
());
set_default_proxy_reg_value
(
saved_proxy_settings
,
len
,
type
);
if
(
ret
)
{
ok
(
ret
,
"always true
\n
"
);
set_default_proxy_reg_value
(
saved_proxy_settings
,
len
,
type
);
}
else
if
(
GetLastError
()
==
ERROR_ACCESS_DENIED
)
skip
(
"couldn't set default proxy configuration: access denied
\n
"
);
else
ok
(
ret
,
"WinHttpSetDefaultProxyConfiguration failed: %d
\n
"
,
GetLastError
());
}
START_TEST
(
winhttp
)
...
...
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