[llvm] [z/OS] Modify regex in error message to match on z/OS. (PR #194020)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 06:15:23 PDT 2026


================
@@ -18,7 +18,7 @@
 # CHECK: Command Output (stderr):
 # CHECK-NEXT: --
 # CHECK-NOT: --
-# CHECK: cat{{(_64)?(\.exe)?}}: {{(cannot open does-not-exist|.*does-not-exist.*: No such file or directory)}}
+# CHECK: cat{{(_64)?(\.exe)?}}: {{(cannot open does-not-exist|.*does-not-exist.*: .*No such file or directory)}}
----------------
jh7370 wrote:

NB: I haven't tested that the above works: I'm not sure if variable expansion happens before the regex detection is used.

https://github.com/llvm/llvm-project/pull/194020


More information about the llvm-commits mailing list