mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-25 14:32:53 +00:00
1cf95914b7
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186387 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
575 B
LLVM
18 lines
575 B
LLVM
;RUN: rm -f %T/test.a
|
|
;RUN: not llvm-ar r %T/test.a . 2>&1 | FileCheck %s
|
|
;CHECK: .: Is a directory
|
|
|
|
; Opening a directory works on cygwin and freebsd.
|
|
; On windows we just get a "Permission denied."
|
|
;XFAIL: freebsd, win32, mingw32, cygwin
|
|
|
|
;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: directory.ll
|
|
;MEMBERS: a-very-long-file-name
|
|
;MEMBERS-NOT: a-very-long-file-name
|