[llvm-branch-commits] [llvm] 1027a22 - [SystemZ][z/OS] Fix Permission denied pattern matching

Abhina Sreeskantharajan via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jan 11 11:36:09 PST 2021


Author: Abhina Sreeskantharajan
Date: 2021-01-11T14:31:27-05:00
New Revision: 1027a22ccd72bb127253cf7d27f528712fa21fa0

URL: https://github.com/llvm/llvm-project/commit/1027a22ccd72bb127253cf7d27f528712fa21fa0
DIFF: https://github.com/llvm/llvm-project/commit/1027a22ccd72bb127253cf7d27f528712fa21fa0.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.

Reviewed By: fanbo-meng

Differential Revision: https://reviews.llvm.org/D94432

Added: 
    

Modified: 
    llvm/test/tools/llvm-elfabi/fail-file-write.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-elfabi/fail-file-write.test b/llvm/test/tools/llvm-elfabi/fail-file-write.test
index 3590409234fb..c3c479e73887 100644
--- a/llvm/test/tools/llvm-elfabi/fail-file-write.test
+++ b/llvm/test/tools/llvm-elfabi/fail-file-write.test
@@ -15,4 +15,4 @@ Arch: AArch64
 Symbols: {}
 ...
 
-# ERR: Permission denied when trying to open `{{.*}}.TestDir/Output.TestFile` for writing
+# ERR: {{.*}}Permission denied{{.*}} when trying to open `{{.*}}.TestDir/Output.TestFile` for writing


        


More information about the llvm-branch-commits mailing list