Use grep instead of sed because on Solaris sed doesn't copy null bytes and
[oota-llvm.git] / test / Archive / toc_GNU.ll
index f1595635274514f3b6e73cd2a503698d7fa455df..3aeded259aa374adb15907e87dd2450794cac1f8 100644 (file)
@@ -2,7 +2,7 @@
 ;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: sed -e '/^;.*/d' %s >%t2
+;RUN: grep -v '^;' %s >%t2
 ;RUN: diff %t2 %t1
 evenlen
 oddlen