xref: /aosp_15_r20/external/llvm/test/Object/archive-extract-dir.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard WorkerRUN: mkdir -p %t
2*9880d681SAndroid Build Coastguard WorkerRUN: cd %t
3*9880d681SAndroid Build Coastguard WorkerRUN: rm -rf foo
4*9880d681SAndroid Build Coastguard WorkerRUN: echo foo > foo
5*9880d681SAndroid Build Coastguard WorkerRUN: rm -f test.a
6*9880d681SAndroid Build Coastguard WorkerRUN: llvm-ar rc          test.a foo
7*9880d681SAndroid Build Coastguard WorkerRUN: rm foo
8*9880d681SAndroid Build Coastguard WorkerRUN: mkdir foo
9*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-ar x test.a foo 2>&1 | FileCheck %s
10*9880d681SAndroid Build Coastguard Worker
11*9880d681SAndroid Build Coastguard WorkerCHECK: foo: {{[Ii]}}s a directory
12