1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

We do use pipefail these days. Update the test.

llvm-svn: 200370
This commit is contained in:
Rafael Espindola 2014-01-29 04:08:05 +00:00
parent 416f0c2389
commit 2eee1a2756

View File

@ -1,12 +1,10 @@
Test that llvm-nm returns an error because of the unknown file type, but
keeps processing subsequent files.
Note: We use a temporary file since the tests don't run with pipefail.
RUN: touch %t
RUN: not llvm-nm %p/Inputs/trivial-object-test.elf-i386 %t \
RUN: %p/Inputs/trivial-object-test.elf-i386 > %t.log
RUN: FileCheck %s < %t.log
RUN: %p/Inputs/trivial-object-test.elf-i386 | \
RUN: FileCheck %s
CHECK: U SomeOtherFunction
CHECK: 00000000 T main