1 ;RUN: rm -rf %t && mkdir -p %t
2 ;RUN: not llvm-ar r %t/test.a . 2>&1 | FileCheck %s
3 ;CHECK: .: {{I|i}}s a directory
6 ;RUN: touch %t/a-very-long-file-name
7 ;RUN: llvm-ar r %t/test.a %s %t/a-very-long-file-name
8 ;RUN: llvm-ar r %t/test.a %t/a-very-long-file-name
9 ;RUN: llvm-ar t %t/test.a | FileCheck -check-prefix=MEMBERS %s
11 ;MEMBERS: directory.ll
12 ;MEMBERS: a-very-long-file-name
13 ;MEMBERS-NOT: a-very-long-file-name