You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
450 B

;RUN: rm -rf %t && mkdir -p %t
;RUN: not llvm-ar r %t/test.a . 2>&1 | FileCheck %s
;CHECK: .: {{I|i}}s 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 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