test/Archive: FileCheck-ize, and remove *.toc. These may be CRLF-tolerant.
[oota-llvm.git] / test / Archive / toc_GNU.ll
index 136f603a831e2f41ff3866060dfaa44ce59c549a..9ed7d8eb8cbdae18f079bcdf6d10d6d9841ec5a2 100644 (file)
@@ -1,5 +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
 ;GNU style archives
-;RUN: llvm-ar t %p/GNU.a > %t1
-;RUN: diff %t1 %p/GNU.toc
+;RUN: llvm-ar t %p/GNU.a | FileCheck %s
+;CHECK:      evenlen
+;CHECK-NEXT: oddlen
+;CHECK-NEXT: very_long_bytecode_file_name.bc
+;CHECK-NEXT: IsNAN.o