[llvm-branch-commits] [llvm] 88e7c34 - [SystemZ][z/OS] Fix Permission denied pattern matching
Abhina Sreeskantharajan via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 19 10:10:10 PST 2021
Author: Abhina Sreeskantharajan
Date: 2021-01-19T13:05:52-05:00
New Revision: 88e7c3498c3a8827c3706e39609b22dea9045432
URL: https://github.com/llvm/llvm-project/commit/88e7c3498c3a8827c3706e39609b22dea9045432
DIFF: https://github.com/llvm/llvm-project/commit/88e7c3498c3a8827c3706e39609b22dea9045432.diff
LOG: [SystemZ][z/OS] Fix Permission denied pattern matching
On z/OS, the error message "EDC5111I Permission denied." is not matched correctly in lit tests. This patch updates the check expression to match successfully.
Differential Revision: https://reviews.llvm.org/D94432
Added:
Modified:
llvm/test/tools/llvm-ar/error-opening-permission.test
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-ar/error-opening-permission.test b/llvm/test/tools/llvm-ar/error-opening-permission.test
index 00f80c0a1848..d8d0cbfd3556 100644
--- a/llvm/test/tools/llvm-ar/error-opening-permission.test
+++ b/llvm/test/tools/llvm-ar/error-opening-permission.test
@@ -11,4 +11,4 @@
# RUN: not llvm-ar p %t/permission.b 2>&1 | \
# RUN: FileCheck %s --check-prefix=NO-PERMISSION -DARCHIVE=%t/permission.b
-# NO-PERMISSION: error: unable to open '[[ARCHIVE]]': {{[pP]}}ermission denied
+# NO-PERMISSION: error: unable to open '[[ARCHIVE]]': {{.*}}{{[pP]}}ermission denied
More information about the llvm-branch-commits
mailing list