Author: akhaldi Date: Sat Jun 3 18:37:03 2017 New Revision: 74784
URL: http://svn.reactos.org/svn/reactos?rev=74784&view=rev Log: [ADVPACK_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Modified: trunk/rostests/winetests/advpack/advpack.c
Modified: trunk/rostests/winetests/advpack/advpack.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/advpack/advpack.... ============================================================================== --- trunk/rostests/winetests/advpack/advpack.c [iso-8859-1] (original) +++ trunk/rostests/winetests/advpack/advpack.c [iso-8859-1] Sat Jun 3 18:37:03 2017 @@ -343,7 +343,7 @@ }
create_inf_file(); - + /* need to see if there are any flags */
/* try a NULL filename */ @@ -430,6 +430,12 @@
/* 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 */