diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-19 18:44:31 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-19 18:44:31 +0000 |
commit | 5711a332f3ebd996149dd3ba4da72a1c4279b056 (patch) | |
tree | 2315878e30d4f4c478f2fa66bbdedd4c4ca05b2d /test/Archive | |
parent | 9945826d50e46212234a6297fda88e2de50f48a6 (diff) |
Make sure we can read an archive after it has been ranlib'd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18000 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Archive')
-rw-r--r-- | test/Archive/SVR4.ll | 3 | ||||
-rw-r--r-- | test/Archive/xpg4.ll | 5 |
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 |