Module: wine
Branch: master
Commit: 295346f81d05e7669c512aec278fa9ea25b0f983
URL: http://source.winehq.org/git/wine.git/?a=commit;h=295346f81d05e7669c512aec2…
Author: Vincent Povirk <vincent(a)codeweavers.com>
Date: Sun Nov 15 20:23:28 2015 -0600
setupapi: Add a manifest to indicate the tests don't need elevation.
Signed-off-by: Vincent Povirk <vincent(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/setupapi/tests/Makefile.in | 2 ++
dlls/setupapi/tests/setupapi.manifest | 11 +++++++++++
dlls/setupapi/tests/setupapi.rc | 25 +++++++++++++++++++++++++
3 files changed, 38 insertions(+)
diff --git a/dlls/setupapi/tests/Makefile.in b/dlls/setupapi/tests/Makefile.in
index 30902e7..083e576 100644
--- a/dlls/setupapi/tests/Makefile.in
+++ b/dlls/setupapi/tests/Makefile.in
@@ -10,3 +10,5 @@ C_SRCS = \
query.c \
setupcab.c \
stringtable.c
+
+RC_SRCS = setupapi.rc
diff --git a/dlls/setupapi/tests/setupapi.manifest b/dlls/setupapi/tests/setupapi.manifest
new file mode 100644
index 0000000..d0e3692
--- /dev/null
+++ b/dlls/setupapi/tests/setupapi.manifest
@@ -0,0 +1,11 @@
+<?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.SetupapiTest" version="0.0.0.0"/>
+ <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
+ <security>
+ <requestedPrivileges>
+ <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
+ </requestedPrivileges>
+ </security>
+ </trustInfo>
+</assembly>
diff --git a/dlls/setupapi/tests/setupapi.rc b/dlls/setupapi/tests/setupapi.rc
new file mode 100644
index 0000000..3af9a20
--- /dev/null
+++ b/dlls/setupapi/tests/setupapi.rc
@@ -0,0 +1,25 @@
+/*
+ * setupapi test resources
+ *
+ * Copyright 2015 Vincent Povirk
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ *
+ */
+
+#include <winuser.rh>
+
+/* @makedep: setupapi.manifest */
+1 RT_MANIFEST setupapi.manifest