2 ;RUN: not llvm-ar r %T/test.a . 2>&1 | FileCheck %s
3 ;CHECK: .: Is a directory
5 ; opening a directory works on freebsd. On windows we just get a
7 ;XFAIL: freebsd, win32, mingw32
10 ;RUN: touch %T/a-very-long-file-name
11 ;RUN: llvm-ar r %T/test.a %s %T/a-very-long-file-name
12 ;RUN: llvm-ar r %T/test.a %T/a-very-long-file-name
13 ;RUN: llvm-ar t %T/test.a | FileCheck -check-prefix=MEMBERS %s
15 ;MEMBERS: directory.ll
16 ;MEMBERS: a-very-long-file-name
17 ;MEMBERS-NOT: a-very-long-file-name