Use grep instead of sed because on Solaris sed doesn't copy null bytes and
[oota-llvm.git] / test / Archive / ranlib_GNU.ll
index ac63989c79b7c579c0c41a97cd35d71ce054bf6e..289303a585dbee60268132754378d66f25d7b8e6 100644 (file)
@@ -4,7 +4,7 @@
 ;RUN: cp %p/GNU.a %t.GNU.a
 ;RUN: llvm-ranlib %t.GNU.a
 ;RUN: llvm-ar t %t.GNU.a > %t1
-;RUN: sed -e '/^;.*/d' %s >%t2
+;RUN: grep -v '^;' %s >%t2
 ;RUN: diff %t2 %t1
 evenlen
 oddlen