From eb729e004bed134c61b811286e958815b9c4809f Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 20 Jun 2013 18:30:37 +0000 Subject: 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 --- test/Archive/directory.ll | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') 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 -- cgit v1.2.3