1REQUIRES: libxml2
2UNSUPPORTED: system-windows
3
4RUN: llvm-mt /manifest %p/Inputs/trust_info.manifest \
5RUN:   /manifest %p/Inputs/assembly_identity.manifest \
6RUN:   /manifest %p/Inputs/trust_and_identity.manifest \
7RUN:   /manifest %p/Inputs/compatibility.manifest \
8RUN:   /manifest  %p/Inputs/windows_settings.manifest /out:%t
9RUN: FileCheck %s -input-file=%t
10
11CHECK:      <?xml version="1.0" encoding="UTF-8"?>
12CHECK-NEXT: <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
13CHECK-NEXT: <ms_asmv1:trustInfo xmlns="urn:schemas-microsoft-com:asm.v3" xmlns:ms_asmv1="urn:schemas-microsoft-com:asm.v1">
14CHECK-NEXT:   <ms_asmv1:security>
15CHECK-NEXT:     <ms_asmv1:requestedPrivileges>
16CHECK-NEXT:       <ms_asmv1:requestedExecutionLevel level="trust1" ms_asmv1:access="false"/>
17CHECK-NEXT:     </ms_asmv1:requestedPrivileges>
18CHECK-NEXT:   </ms_asmv1:security>
19CHECK-NEXT: </ms_asmv1:trustInfo>
20CHECK-NEXT: <ms_asmv2:dependency xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v2">
21CHECK-NEXT:   <ms_asmv2:dependentAssembly>
22CHECK-NEXT:     <ms_asmv2:assemblyIdentity foo="bar" name="identity1" version="1.2.3.4"/>
23CHECK-NEXT:   </ms_asmv2:dependentAssembly>
24CHECK-NEXT: </ms_asmv2:dependency>
25CHECK-NEXT: <dependency>
26CHECK-NEXT:   <dependentAssembly>
27CHECK-NEXT:     <assemblyIdentity bar="foo" name="my assembly" version="5"/>
28CHECK-NEXT:   </dependentAssembly>
29CHECK-NEXT: </dependency>
30CHECK-NEXT: <application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
31CHECK-NEXT:   <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
32CHECK-NEXT:     <supportedOS Id="FooOS"/>
33CHECK-NEXT:     <supportedOS Id="BarOS"/>
34CHECK-NEXT:   </compatibility>
35CHECK-NEXT:   <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
36CHECK-NEXT:     <dpiAware>true/pm</dpiAware>
37CHECK-NEXT:   </asmv3:windowsSettings>
38CHECK-NEXT: </application>
39CHECK-NEXT: </assembly>
40