diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 13:16:44 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 13:16:44 +0000 |
commit | be984d6376bf42f9e05fb660b44808cffe9711a8 (patch) | |
tree | 8b3fb0a308675e677010c8b7f851d8cb8c03f2cf /test | |
parent | 6f2c88a08b30e9e22d71ed7d7abb89bbcc9d1629 (diff) | |
download | llvm-be984d6376bf42f9e05fb660b44808cffe9711a8.tar.gz llvm-be984d6376bf42f9e05fb660b44808cffe9711a8.tar.bz2 llvm-be984d6376bf42f9e05fb660b44808cffe9711a8.tar.xz |
Don't include directory names in archives.
This matches the behavior of both gnu and os x versions of ar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Archive/directory.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Archive/directory.ll b/test/Archive/directory.ll index f17ac5d36b..e10c3b43b8 100644 --- a/test/Archive/directory.ll +++ b/test/Archive/directory.ll @@ -1,2 +1,8 @@ ;RUN: not llvm-ar r %T/test.a . 2>&1 | FileCheck %s ;CHECK: . Is a directory + +;RUN: rm -f %T/test.a +;RUN: llvm-ar r %T/test.a %s +;RUN: llvm-ar t %T/test.a | FileCheck -check-prefix=MEMBERS %s +;MEMBERS-NOT: / +;MEMBERS: directory.ll |