f88d604a23bb321dd2b841858f8bb99a1096d51e
[oota-llvm.git] / test / Archive / 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 t %T/test.a | FileCheck -check-prefix=MEMBERS %s
8 ;MEMBERS-NOT: /
9 ;MEMBERS: a-very-long-file-name
10 ;MEMBERS: directory.ll