it needs to in order for the bug in MacOSX archives to be tested correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18269
91177308-0d34-0410-b5e6-
96231b3b80d8
;RUN: cp %p/GNU.a %t.GNU.a
;RUN: llvm-ranlib %t.GNU.a
;RUN: llvm-ar t %t.GNU.a > %t1
;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
;RUN: diff %t2 %t1
evenlen
oddlen
;RUN: cp %p/SVR4.a %t.SVR4.a
;RUN: llvm-ranlib %t.SVR4.a
;RUN: llvm-ar t %t.SVR4.a > %t1
;RUN: cp %p/SVR4.a %t.SVR4.a
;RUN: llvm-ranlib %t.SVR4.a
;RUN: llvm-ar t %t.SVR4.a > %t1
-;RUN: sed -e '/^;.*/d' %s >%t2
+;RUN: grep -v '^;' %s >%t2
;RUN: diff %t2 %t1
evenlen
oddlen
;RUN: diff %t2 %t1
evenlen
oddlen
;RUN: cp %p/xpg4.a %t.xpg4.a
;RUN: llvm-ranlib %t.xpg4.a
;RUN: llvm-ar t %t.xpg4.a > %t1
;RUN: cp %p/xpg4.a %t.xpg4.a
;RUN: llvm-ranlib %t.xpg4.a
;RUN: llvm-ar t %t.xpg4.a > %t1
-;RUN: sed -e '/^;.*/d' %s >%t2
+;RUN: grep -v '^;' %s >%t2
;RUN: diff %t2 %t1
evenlen
oddlen
;RUN: diff %t2 %t1
evenlen
oddlen
;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
;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
;RUN: diff %t2 %t1
evenlen
oddlen
;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
;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: sed -e '/^;.*/d' %s >%t2
+;RUN: grep -v '^;' %s >%t2
;RUN: diff %t2 %t1
evenlen
oddlen
;RUN: diff %t2 %t1
evenlen
oddlen
;This test just makes sure that llvm-ar can generate a table of contents for
;xpg4 style archives
;RUN: llvm-ar t %p/xpg4.a > %t1
;This test just makes sure that llvm-ar can generate a table of contents for
;xpg4 style archives
;RUN: llvm-ar t %p/xpg4.a > %t1
-;RUN: sed -e '/^;.*/d' %s >%t2
+;RUN: grep -v '^;' %s >%t2
;RUN: diff %t2 %t1
evenlen
oddlen
;RUN: diff %t2 %t1
evenlen
oddlen