From c86f56a506b121c956101888c46c060258986fb5 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 29 Jan 2014 04:08:05 +0000 Subject: We do use pipefail these days. Update the test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200370 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Object/nm-error.test | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/Object/nm-error.test b/test/Object/nm-error.test index 146b88713f..bed9ccbd1f 100644 --- a/test/Object/nm-error.test +++ b/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 -- cgit v1.2.3