xref: /aosp_15_r20/external/llvm/test/Object/directory.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker;RUN: rm -f %T/test.a
2*9880d681SAndroid Build Coastguard Worker;RUN: not llvm-ar r %T/test.a . 2>&1 | FileCheck %s
3*9880d681SAndroid Build Coastguard Worker;CHECK: .: {{I|i}}s a directory
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker;RUN: rm -f %T/test.a
6*9880d681SAndroid Build Coastguard Worker;RUN: touch %T/a-very-long-file-name
7*9880d681SAndroid Build Coastguard Worker;RUN: llvm-ar r %T/test.a %s %T/a-very-long-file-name
8*9880d681SAndroid Build Coastguard Worker;RUN: llvm-ar r %T/test.a %T/a-very-long-file-name
9*9880d681SAndroid Build Coastguard Worker;RUN: llvm-ar t %T/test.a | FileCheck -check-prefix=MEMBERS %s
10*9880d681SAndroid Build Coastguard Worker;MEMBERS-NOT: /
11*9880d681SAndroid Build Coastguard Worker;MEMBERS: directory.ll
12*9880d681SAndroid Build Coastguard Worker;MEMBERS: a-very-long-file-name
13*9880d681SAndroid Build Coastguard Worker;MEMBERS-NOT: a-very-long-file-name
14