[llvm-commits] CVS: llvm/test/Regression/Archive/ranlib_GNU.ll ranlib_MacOSX.ll ranlib_SVR4.ll ranlib_xpg4.ll toc_GNU.ll toc_MacOSX.ll toc_SVR4.ll toc_xpg4.ll
Reid Spencer
reid at x10sys.com
Fri Nov 26 22:27:40 PST 2004
Changes in directory llvm/test/Regression/Archive:
ranlib_GNU.ll updated: 1.4 -> 1.5
ranlib_MacOSX.ll updated: 1.3 -> 1.4
ranlib_SVR4.ll updated: 1.4 -> 1.5
ranlib_xpg4.ll updated: 1.4 -> 1.5
toc_GNU.ll updated: 1.1 -> 1.2
toc_MacOSX.ll updated: 1.1 -> 1.2
toc_SVR4.ll updated: 1.1 -> 1.2
toc_xpg4.ll updated: 1.1 -> 1.2
---
Log message:
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.
---
Diffs of the changes: (+6 -6)
Index: llvm/test/Regression/Archive/ranlib_GNU.ll
diff -u llvm/test/Regression/Archive/ranlib_GNU.ll:1.4 llvm/test/Regression/Archive/ranlib_GNU.ll:1.5
--- llvm/test/Regression/Archive/ranlib_GNU.ll:1.4 Sun Nov 21 20:46:31 2004
+++ llvm/test/Regression/Archive/ranlib_GNU.ll Sat Nov 27 00:27:30 2004
@@ -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
Index: llvm/test/Regression/Archive/ranlib_MacOSX.ll
Index: llvm/test/Regression/Archive/ranlib_SVR4.ll
diff -u llvm/test/Regression/Archive/ranlib_SVR4.ll:1.4 llvm/test/Regression/Archive/ranlib_SVR4.ll:1.5
--- llvm/test/Regression/Archive/ranlib_SVR4.ll:1.4 Sun Nov 21 20:46:31 2004
+++ llvm/test/Regression/Archive/ranlib_SVR4.ll Sat Nov 27 00:27:30 2004
@@ -4,7 +4,7 @@
;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
Index: llvm/test/Regression/Archive/ranlib_xpg4.ll
diff -u llvm/test/Regression/Archive/ranlib_xpg4.ll:1.4 llvm/test/Regression/Archive/ranlib_xpg4.ll:1.5
--- llvm/test/Regression/Archive/ranlib_xpg4.ll:1.4 Sun Nov 21 20:46:31 2004
+++ llvm/test/Regression/Archive/ranlib_xpg4.ll Sat Nov 27 00:27:30 2004
@@ -4,7 +4,7 @@
;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
Index: llvm/test/Regression/Archive/toc_GNU.ll
diff -u llvm/test/Regression/Archive/toc_GNU.ll:1.1 llvm/test/Regression/Archive/toc_GNU.ll:1.2
--- llvm/test/Regression/Archive/toc_GNU.ll:1.1 Sat Nov 20 01:25:41 2004
+++ llvm/test/Regression/Archive/toc_GNU.ll Sat Nov 27 00:27:30 2004
@@ -2,7 +2,7 @@
;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
Index: llvm/test/Regression/Archive/toc_MacOSX.ll
Index: llvm/test/Regression/Archive/toc_SVR4.ll
diff -u llvm/test/Regression/Archive/toc_SVR4.ll:1.1 llvm/test/Regression/Archive/toc_SVR4.ll:1.2
--- llvm/test/Regression/Archive/toc_SVR4.ll:1.1 Sat Nov 20 01:25:41 2004
+++ llvm/test/Regression/Archive/toc_SVR4.ll Sat Nov 27 00:27:30 2004
@@ -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
Index: llvm/test/Regression/Archive/toc_xpg4.ll
diff -u llvm/test/Regression/Archive/toc_xpg4.ll:1.1 llvm/test/Regression/Archive/toc_xpg4.ll:1.2
--- llvm/test/Regression/Archive/toc_xpg4.ll:1.1 Sat Nov 20 01:25:41 2004
+++ llvm/test/Regression/Archive/toc_xpg4.ll Sat Nov 27 00:27:30 2004
@@ -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
More information about the llvm-commits
mailing list