2013-06-19 14:58:16 +00:00
|
|
|
;RUN: not llvm-ar r %T/test.a . 2>&1 | FileCheck %s
|
|
|
|
;CHECK: . Is a directory
|
2013-06-20 13:41:51 +00:00
|
|
|
|
|
|
|
;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
|
2013-06-20 18:30:37 +00:00
|
|
|
;RUN: llvm-ar r %T/test.a %T/a-very-long-file-name
|
2013-06-21 07:23:14 +00:00
|
|
|
;RUN: llvm-ar t %T/test.a | sort | FileCheck -check-prefix=MEMBERS %s
|
2013-06-20 13:41:51 +00:00
|
|
|
;MEMBERS-NOT: /
|
|
|
|
;MEMBERS: a-very-long-file-name
|
|
|
|
;MEMBERS: directory.ll
|
2013-06-20 18:30:37 +00:00
|
|
|
;MEMBERS-NOT: a-very-long-file-name
|