Changeset View
Changeset View
Standalone View
Standalone View
test/Object/directory.ll
;RUN: rm -f %T/test.a | ;RUN: rm -rf %t && mkdir -p %t | ||||
;RUN: not llvm-ar r %T/test.a . 2>&1 | FileCheck %s | ;RUN: not llvm-ar r %t/test.a . 2>&1 | FileCheck %s | ||||
;CHECK: .: {{I|i}}s a directory | ;CHECK: .: {{I|i}}s a directory | ||||
;RUN: rm -f %T/test.a | ;RUN: rm -f %t/test.a | ||||
;RUN: touch %T/a-very-long-file-name | ;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 %s %t/a-very-long-file-name | ||||
;RUN: llvm-ar r %T/test.a %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 | ;RUN: llvm-ar t %t/test.a | FileCheck -check-prefix=MEMBERS %s | ||||
;MEMBERS-NOT: / | ;MEMBERS-NOT: / | ||||
;MEMBERS: directory.ll | ;MEMBERS: directory.ll | ||||
;MEMBERS: a-very-long-file-name | ;MEMBERS: a-very-long-file-name | ||||
;MEMBERS-NOT: a-very-long-file-name | ;MEMBERS-NOT: a-very-long-file-name |