brintos

brintos / llvm-project-archived public Read only

0
0
Text · 418 B · a11600c Raw
13 lines · plain
1## Unsupported on AIX and FreeBSD as AIX and FreeBSD 12 and earlier allow2## reading directories by default.3# UNSUPPORTED: system-freebsd, system-aix4 5# RUN: rm -rf %t && mkdir -p %t6 7## Passing in a directory:8# RUN: mkdir -p %t/tmpDir9# RUN: not llvm-ar p %t/tmpDir 2>&1 | \10# RUN:    FileCheck %s --check-prefix=IS-DIR -DARCHIVE=%t/tmpDir -DMSG=%errc_EISDIR11 12# IS-DIR: error: unable to open '[[ARCHIVE]]': [[MSG]]13