Use grep instead of sed because on Solaris sed doesn't copy null bytes and

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
This commit is contained in:
Reid Spencer
2004-11-27 06:27:30 +00:00
parent 9df7aea12e
commit f461ead599
8 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
;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