COFF: Fix flaky test.

This test was flaky because stdout and stderr can be mixed.

llvm-svn: 240918
This commit is contained in:
Rui Ueyama 2015-06-28 22:06:53 +00:00
parent f24e6f8607
commit 091b1a6585
1 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,6 @@
# RUN: env LINK="-help -foo" lld -flavor link2 >& %t.log
# RUN: FileCheck %s < %t.log
# RUN: env LINK="-help -foo" lld -flavor link2 > %t1.log 2> %t2.log
# RUN: FileCheck -check-prefix=STDOUT %s < %t1.log
# RUN: FileCheck -check-prefix=STDERR %s < %t2.log
CHECK: unknown argument: -foo
CHECK: OVERVIEW: LLVM Linker
STDOUT: OVERVIEW: LLVM Linker
STDERR: unknown argument: -foo