Home | History | Annotate | Download | only in Object
      1 ;RUN: rm -f %T/test.a
      2 ;RUN: not llvm-ar r %T/test.a . 2>&1 | FileCheck %s
      3 ;CHECK: .: Is a directory
      4 
      5 ; Opening a directory works on cygwin and freebsd.
      6 ;XFAIL: freebsd, cygwin
      7 
      8 ;RUN: rm -f %T/test.a
      9 ;RUN: touch %T/a-very-long-file-name
     10 ;RUN: llvm-ar r %T/test.a %s %T/a-very-long-file-name
     11 ;RUN: llvm-ar r %T/test.a %T/a-very-long-file-name
     12 ;RUN: llvm-ar t %T/test.a | FileCheck -check-prefix=MEMBERS %s
     13 ;MEMBERS-NOT: /
     14 ;MEMBERS: directory.ll
     15 ;MEMBERS: a-very-long-file-name
     16 ;MEMBERS-NOT: a-very-long-file-name
     17