projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f91f678
)
[ADVPACK_WINETEST] Sync with Wine Staging 2.9. CORE-13362
author
Amine Khaldi
<amine.khaldi@reactos.org>
Sat, 3 Jun 2017 18:37:03 +0000
(18:37 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Sat, 3 Jun 2017 18:37:03 +0000
(18:37 +0000)
svn path=/trunk/; revision=74784
rostests/winetests/advpack/advpack.c
patch
|
blob
|
history
diff --git
a/rostests/winetests/advpack/advpack.c
b/rostests/winetests/advpack/advpack.c
index
84e1e98
..
9f4e4fc
100644
(file)
--- a/
rostests/winetests/advpack/advpack.c
+++ b/
rostests/winetests/advpack/advpack.c
@@
-343,7
+343,7
@@
static void translateinfstringex_test(void)
}
create_inf_file();
-
+
/* need to see if there are any flags */
/* try a NULL filename */
@@
-430,6
+430,12
@@
static void translateinfstringex_test(void)
/* open the inf with the install section */
hr = pOpenINFEngine(inf_file, "section", 0, &hinf, NULL);
+ if (hr == E_FAIL)
+ {
+ skip("can't open engine with install section (needs admin rights)\n");
+ DeleteFileA(inf_file);
+ return;
+ }
ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
/* translate the string with the install section specified */