diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-29 04:08:05 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-29 04:08:05 +0000 |
| commit | 7a578026ae60a345e7f614c81285b1fe7d497f10 (patch) | |
| tree | c2a0d79e7fb2d08bfadb7219d5c0c4c2c6c4d5e3 | |
| parent | b6a6bdab20a05361f813256ac5e4912193eb82b5 (diff) | |
| download | bcm5719-llvm-7a578026ae60a345e7f614c81285b1fe7d497f10.tar.gz bcm5719-llvm-7a578026ae60a345e7f614c81285b1fe7d497f10.zip | |
We do use pipefail these days. Update the test.
llvm-svn: 200370
| -rw-r--r-- | llvm/test/Object/nm-error.test | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/Object/nm-error.test b/llvm/test/Object/nm-error.test index 146b88713f8..bed9ccbd1f2 100644 --- a/llvm/test/Object/nm-error.test +++ b/llvm/test/Object/nm-error.test @@ -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 |

