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

via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 12:59:24 PDT 2026


================
@@ -13,7 +16,7 @@
 # CHECK: FAIL: shtest-cat :: cat-error-1.txt ({{[^)]*}})
 # CHECK: cat temp1.txt
 # CHECK: # .---command stderr{{-*}}
-# CHECK-NEXT: # | [Errno 2] No such file or directory: 'temp1.txt'
+# CHECK-NEXT: # | [Errno {{.*}}] [[MSG]]: 'temp1.txt'
----------------
sujianIBM wrote:

Hello, I have addressed above comments.
`{{\d+}}` does not work for me. So I use `{{[0-9]+}}`.
Thanks!

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


More information about the llvm-commits mailing list