aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Archive/SVR4.ll3
-rw-r--r--test/Archive/xpg4.ll5
2 files changed, 7 insertions, 1 deletions
diff --git a/test/Archive/SVR4.ll b/test/Archive/SVR4.ll
index f06b6b3311..7b2a4af9e3 100644
--- a/test/Archive/SVR4.ll
+++ b/test/Archive/SVR4.ll
@@ -5,3 +5,6 @@
; RUN: ar t SVR4.a > Output/svr1
; RUN: llvm-ar t SVR4.a > Output/svr2
; RUN: diff Output/svr1 Output/svr2
+; RUN: cp SVR4.a Output/SVR4_mod.a
+; RUN: llvm-ranlib Output/SVR4_mod.a
+; RUN: llvm-ar t Output/SVR4_mod.a
diff --git a/test/Archive/xpg4.ll b/test/Archive/xpg4.ll
index 19c867963c..14c1a3874b 100644
--- a/test/Archive/xpg4.ll
+++ b/test/Archive/xpg4.ll
@@ -3,5 +3,8 @@
; reading xpg4 style archives.
; RUN: ar t xpg4.a > Output/xpg1
-; RUN: llvm-ar t SVR4.a > Output/xpg2
+; RUN: llvm-ar t xpg4.a > Output/xpg2
; RUN: diff Output/xpg1 Output/xpg2
+; RUN: cp xpg4.a Output/xpg4_mod.a
+; RUN: llvm-ranlib Output/xpg4_mod.a
+; RUN: llvm-ar t Output/xpg4_mod.a