On z/OS, the following error message is not matched correctly in lit tests. ``` EDC5129I No such file or directory. ``` This patch uses a lit config substitution to check for platform specific error messages. Reviewed By: muiez, jhenderson Differential Revision: https://reviews.llvm.org/D95246
13 lines
418 B
Plaintext
13 lines
418 B
Plaintext
## Unsupported on AIX and FreeBSD as AIX and FreeBSD 12 and earlier allow
|
|
## reading directories by default.
|
|
# UNSUPPORTED: system-freebsd, system-aix
|
|
|
|
# RUN: rm -rf %t && mkdir -p %t
|
|
|
|
## Passing in a directory:
|
|
# RUN: mkdir -p %t/tmpDir
|
|
# RUN: not llvm-ar p %t/tmpDir 2>&1 | \
|
|
# RUN: FileCheck %s --check-prefix=IS-DIR -DARCHIVE=%t/tmpDir -DMSG=%errc_EISDIR
|
|
|
|
# IS-DIR: error: unable to open '[[ARCHIVE]]': [[MSG]]
|