diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 18:30:37 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 18:30:37 +0000 |
commit | eb729e004bed134c61b811286e958815b9c4809f (patch) | |
tree | 89da2b7cba708a59a8f0c7fa5008a3d15d129c84 /test | |
parent | 3781fbc29a8d808dcb8f2f11da0bbce635629308 (diff) | |
download | llvm-eb729e004bed134c61b811286e958815b9c4809f.tar.gz llvm-eb729e004bed134c61b811286e958815b9c4809f.tar.bz2 llvm-eb729e004bed134c61b811286e958815b9c4809f.tar.xz |
Use only the filename when deciding if a file is a duplicate.
Matches gnu ar behavior.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184448 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Archive/directory.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Archive/directory.ll b/test/Archive/directory.ll index f88d604a23..2975345226 100644 --- a/test/Archive/directory.ll +++ b/test/Archive/directory.ll @@ -4,7 +4,9 @@ ;RUN: rm -f %T/test.a ;RUN: touch %T/a-very-long-file-name ;RUN: llvm-ar r %T/test.a %s %T/a-very-long-file-name +;RUN: llvm-ar r %T/test.a %T/a-very-long-file-name ;RUN: llvm-ar t %T/test.a | FileCheck -check-prefix=MEMBERS %s ;MEMBERS-NOT: / ;MEMBERS: a-very-long-file-name ;MEMBERS: directory.ll +;MEMBERS-NOT: a-very-long-file-name |