aboutsummaryrefslogtreecommitdiffstats
path: root/test/Object/archive-extract-dir.test
blob: c718f90275b653a001cf0df51443ff15f1cda058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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