[SystemZ][z/OS] Fix Permission denied pattern matching
authorAbhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com>
Mon, 11 Jan 2021 19:27:10 +0000 (14:27 -0500)
committerAbhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com>
Mon, 11 Jan 2021 19:31:27 +0000 (14:31 -0500)
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

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

index 3590409..c3c479e 100644 (file)
@@ -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