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