aboutsummaryrefslogtreecommitdiffstats
path: root/test/Archive/toc_xpg4.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-27 06:27:30 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-27 06:27:30 +0000
commitf461ead5990b9a2e25adbf0c0bf99d826eebfe90 (patch)
tree58d48dc64ee7a2d388f0aa3ed29e9ac2f884d94e /test/Archive/toc_xpg4.ll
parent9df7aea12ee1e74ed01a2dc04dc647b6e3d08e55 (diff)
downloadexternal_llvm-f461ead5990b9a2e25adbf0c0bf99d826eebfe90.zip
external_llvm-f461ead5990b9a2e25adbf0c0bf99d826eebfe90.tar.gz
external_llvm-f461ead5990b9a2e25adbf0c0bf99d826eebfe90.tar.bz2
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_xpg4.ll')
-rw-r--r--test/Archive/toc_xpg4.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Archive/toc_xpg4.ll b/test/Archive/toc_xpg4.ll
index 1415421..f2984e2 100644
--- a/test/Archive/toc_xpg4.ll
+++ b/test/Archive/toc_xpg4.ll
@@ -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