llvm-6502/test/Object/archive-extract-dir.test
Rafael Espindola b1a003f377 Split openFileForWrite into windows and unix versions.
It is similar to 186511, but for creating files for writing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186679 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-19 15:02:03 +00:00

14 lines
240 B
Plaintext

REQUIRES: shell
RUN: mkdir -p %t
RUN: cd %t
RUN: rm -rf foo
RUN: echo foo > foo
RUN: rm -f test.a
RUN: llvm-ar rc test.a foo
RUN: rm foo
RUN: mkdir foo
RUN: not llvm-ar x test.a foo 2>&1 | FileCheck %s
CHECK: foo: Is a directory