Update phab docs to clarify how to accept a change.
[oota-llvm.git] / test / Archive / toc_SVR4.ll
index 9f8bdba207d408d0828156c093f0c71ecc316c91..d447b92199900f8eb96cc56c928e3c1cb2dccf00 100644 (file)
@@ -1,10 +1,8 @@
 ;This isn't really an assembly file, its just here to run the test.
 ;This test just makes sure that llvm-ar can generate a table of contents for
 ;SVR4 style archives
-;RUN: llvm-ar t %p/SVR4.a > %t1
-;RUN: grep -v '^;' %s >%t2
-;RUN: diff %t2 %t1
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o
+;RUN: llvm-ar t %p/SVR4.a | FileCheck %s
+;CHECK:      evenlen
+;CHECK-NEXT: oddlen
+;CHECK-NEXT: very_long_bytecode_file_name.bc
+;CHECK-NEXT: IsNAN.o