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
This commit is contained in:
Reid Spencer 2004-11-19 18:44:31 +00:00
parent 9945826d50
commit 5711a332f3
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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