xref: /llvm-project/llvm/test/Object/directory.ll (revision fe3b621f05e706fb04dec121c136b6de82a9e277)
1;RUN: rm -rf %t && mkdir -p %t
2;RUN: not llvm-ar r %t/test.a . 2>&1 | FileCheck -DMSG=%errc_EISDIR %s
3;CHECK: .: [[MSG]]
4
5;RUN: rm -f %t/test.a
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
10;MEMBERS-NOT: /
11;MEMBERS: directory.ll
12;MEMBERS: a-very-long-file-name
13;MEMBERS-NOT: a-very-long-file-name
14