[PECOFF] Add one more test for r206633.

llvm-svn: 206645
This commit is contained in:
Rui Ueyama 2014-04-18 20:44:05 +00:00
parent 532fdc0d4f
commit 4aaea17dc9
1 changed files with 12 additions and 3 deletions

View File

@ -4,7 +4,7 @@
# RUN: -- %t.obj
# RUN: FileCheck -check-prefix=MANIFEST %s < %t1.exe.manifest
MANIFEST: ?xml version="1.0" standalone="yes"?>
MANIFEST: <?xml version="1.0" standalone="yes"?>
MANIFEST: <assembly xmlns="urn:schemas-microsoft-com:asm.v1"
MANIFEST: manifestVersion="1.0">
MANIFEST: <trustInfo>
@ -20,7 +20,7 @@ MANIFEST: </assembly>
# RUN: /manifestuac:"level='requireAdministrator' uiAccess='true'" -- %t.obj
# RUN: FileCheck -check-prefix=UAC %s < %t2.exe.manifest
UAC: ?xml version="1.0" standalone="yes"?>
UAC: <?xml version="1.0" standalone="yes"?>
UAC: <assembly xmlns="urn:schemas-microsoft-com:asm.v1"
UAC: manifestVersion="1.0">
UAC: <trustInfo>
@ -36,7 +36,7 @@ UAC: </assembly>
# RUN: /manifestdependency:"foo='bar'" -- %t.obj
# RUN: FileCheck -check-prefix=DEPENDENCY %s < %t3.exe.manifest
DEPENDENCY: ?xml version="1.0" standalone="yes"?>
DEPENDENCY: <?xml version="1.0" standalone="yes"?>
DEPENDENCY: <assembly xmlns="urn:schemas-microsoft-com:asm.v1"
DEPENDENCY: manifestVersion="1.0">
DEPENDENCY: <trustInfo>
@ -52,3 +52,12 @@ DEPENDENCY: <assemblyIdentity foo='bar' />
DEPENDENCY: </dependentAssembly>
DEPENDENCY: </dependency>
DEPENDENCY: </assembly>
# RUN: lld -flavor link /out:%t4.exe /subsystem:console /force \
# RUN: /manifestuac:no -- %t.obj
# RUN: FileCheck -check-prefix=NOUAC %s < %t4.exe.manifest
NOUAC: <?xml version="1.0" standalone="yes"?>
NOUAC: <assembly xmlns="urn:schemas-microsoft-com:asm.v1"
NOUAC: manifestVersion="1.0">
NOUAC: </assembly>