diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-27 06:27:30 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-27 06:27:30 +0000 |
commit | f461ead5990b9a2e25adbf0c0bf99d826eebfe90 (patch) | |
tree | 58d48dc64ee7a2d388f0aa3ed29e9ac2f884d94e /test/Archive/toc_SVR4.ll | |
parent | 9df7aea12ee1e74ed01a2dc04dc647b6e3d08e55 (diff) | |
download | llvm-f461ead5990b9a2e25adbf0c0bf99d826eebfe90.tar.gz llvm-f461ead5990b9a2e25adbf0c0bf99d826eebfe90.tar.bz2 llvm-f461ead5990b9a2e25adbf0c0bf99d826eebfe90.tar.xz |
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
Diffstat (limited to 'test/Archive/toc_SVR4.ll')
-rw-r--r-- | test/Archive/toc_SVR4.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Archive/toc_SVR4.ll b/test/Archive/toc_SVR4.ll index 589d34c52b..9f8bdba207 100644 --- a/test/Archive/toc_SVR4.ll +++ b/test/Archive/toc_SVR4.ll @@ -2,7 +2,7 @@ ;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 |