Don't depend on grep or sed to be portable at all. Just compare against
[oota-llvm.git] / test / Archive / toc_GNU.ll
index 3aeded259aa374adb15907e87dd2450794cac1f8..136f603a831e2f41ff3866060dfaa44ce59c549a 100644 (file)
@@ -2,9 +2,4 @@
 ;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: grep -v '^;' %s >%t2
-;RUN: diff %t2 %t1
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o
+;RUN: diff %t1 %p/GNU.toc