[PATCH 2/2] odbccp32/tests: Set requestedExecutionLevel to asInvoker to prevent virtualization.

Zebediah Figura z.figura12 at gmail.com
Thu Jun 28 05:05:13 CDT 2018


Fixes additional test failures observed on my machine.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/odbccp32/tests/Makefile.in       |  3 +++
 dlls/odbccp32/tests/odbccp32.manifest | 18 ++++++++++++++++++
 dlls/odbccp32/tests/odbccp32.rc       |  4 ++++
 3 files changed, 25 insertions(+)
 create mode 100644 dlls/odbccp32/tests/odbccp32.manifest
 create mode 100644 dlls/odbccp32/tests/odbccp32.rc

diff --git a/dlls/odbccp32/tests/Makefile.in b/dlls/odbccp32/tests/Makefile.in
index 912f511..c65292e 100644
--- a/dlls/odbccp32/tests/Makefile.in
+++ b/dlls/odbccp32/tests/Makefile.in
@@ -3,3 +3,6 @@ IMPORTS   = odbccp32 advapi32
 
 C_SRCS = \
 	misc.c
+
+RC_SRCS = \
+	odbccp32.rc
diff --git a/dlls/odbccp32/tests/odbccp32.manifest b/dlls/odbccp32/tests/odbccp32.manifest
new file mode 100644
index 0000000..cd879cc
--- /dev/null
+++ b/dlls/odbccp32/tests/odbccp32.manifest
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+    <assemblyIdentity
+        type="win32"
+        name="Wine.odbccp32.Test"
+        version="1.0.0.0"
+        processorArchitecture="*"
+    />
+    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
+        <security>
+            <requestedPrivileges>
+                <requestedExecutionLevel
+                    level="asInvoker"
+                />
+            </requestedPrivileges>
+        </security>
+    </trustInfo>
+</assembly>
diff --git a/dlls/odbccp32/tests/odbccp32.rc b/dlls/odbccp32/tests/odbccp32.rc
new file mode 100644
index 0000000..1e953d2
--- /dev/null
+++ b/dlls/odbccp32/tests/odbccp32.rc
@@ -0,0 +1,4 @@
+#include "winuser.h"
+
+/* @makedep: odbccp32.manifest */
+1 RT_MANIFEST odbccp32.manifest
-- 
2.7.4




More information about the wine-devel mailing list