blob: 297534522688f7b92bac6181d1011987c991ca7d [file] [log] [blame]
Rafael Espindola8fe960e2013-06-19 14:58:16 +00001;RUN: not llvm-ar r %T/test.a . 2>&1 | FileCheck %s
2;CHECK: . Is a directory
Rafael Espindola122c57c2013-06-20 13:41:51 +00003
4;RUN: rm -f %T/test.a
5;RUN: touch %T/a-very-long-file-name
6;RUN: llvm-ar r %T/test.a %s %T/a-very-long-file-name
Rafael Espindolaeb729e02013-06-20 18:30:37 +00007;RUN: llvm-ar r %T/test.a %T/a-very-long-file-name
Rafael Espindola122c57c2013-06-20 13:41:51 +00008;RUN: llvm-ar t %T/test.a | FileCheck -check-prefix=MEMBERS %s
9;MEMBERS-NOT: /
10;MEMBERS: a-very-long-file-name
11;MEMBERS: directory.ll
Rafael Espindolaeb729e02013-06-20 18:30:37 +000012;MEMBERS-NOT: a-very-long-file-name