Move tests from test/Archive to test/Object.
[oota-llvm.git] / test / Object / directory.ll
1 ;RUN: not llvm-ar r %T/test.a . 2>&1 | FileCheck %s
2 ;CHECK: . Is a directory
3
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
7 ;RUN: llvm-ar r %T/test.a %T/a-very-long-file-name
8 ;RUN: llvm-ar t %T/test.a | sort | FileCheck -check-prefix=MEMBERS %s
9 ;MEMBERS-NOT: /
10 ;MEMBERS: a-very-long-file-name
11 ;MEMBERS: directory.ll
12 ;MEMBERS-NOT: a-very-long-file-name