mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
122c57c0b8
Original message: 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@184423 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
325 B
LLVM
11 lines
325 B
LLVM
;RUN: not llvm-ar r %T/test.a . 2>&1 | FileCheck %s
|
|
;CHECK: . Is a directory
|
|
|
|
;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 t %T/test.a | FileCheck -check-prefix=MEMBERS %s
|
|
;MEMBERS-NOT: /
|
|
;MEMBERS: a-very-long-file-name
|
|
;MEMBERS: directory.ll
|