mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-02 18:58:15 +00:00
[SystemZ][z/OS] Fix No such file or directory expression error
On z/OS, the following error message is not matched correctly in lit tests. This patch updates the CHECK expression to match the end period successfully. ``` EDC5129I No such file or directory. ``` Differential Revision: https://reviews.llvm.org/D94239
This commit is contained in:
parent
bd122f6d21
commit
06f8a49693
@ -65,13 +65,13 @@
|
||||
# RUN: not llvm-libtool-darwin -static -o %t.lib -filelist %t.invalid-list.txt 2>&1 | \
|
||||
# RUN: FileCheck %s --check-prefix=FILE-ERROR -DFILE=no-such-file
|
||||
|
||||
# FILE-ERROR: error: '[[FILE]]': {{[nN]}}o such file or directory
|
||||
# FILE-ERROR: error: '[[FILE]]': {{.*}}{{[nN]}}o such file or directory
|
||||
|
||||
## Check that an error is thrown when the directory exists but does not contain the requested file:
|
||||
# RUN: not llvm-libtool-darwin -static -o %t.lib -filelist %t.invalid-list.txt,%t/dirname 2>&1 | \
|
||||
# RUN: FileCheck %s --check-prefix=DIR-ERROR -DDIR=%t/dirname -DFILE=no-such-file
|
||||
|
||||
# DIR-ERROR: error: '[[DIR]]{{[/\\]}}[[FILE]]': {{[nN]}}o such file or directory
|
||||
# DIR-ERROR: error: '[[DIR]]{{[/\\]}}[[FILE]]': {{.*}}{{[nN]}}o such file or directory
|
||||
|
||||
## Check that an error is thrown when a file is in the cwd but dirname is specified:
|
||||
# RUN: yaml2obj %S/Inputs/input2.yaml -o %basename_t.tmp-input2.o
|
||||
|
Loading…
Reference in New Issue
Block a user