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


        
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to