From 2c4f6be86c14c28243915ab9eb3a2ff1902fee99 Mon Sep 17 00:00:00 2001 From: Abhina Sreeskantharajan Date: Tue, 19 Jan 2021 07:25:21 -0500 Subject: [PATCH] [SystemZ][z/OS] Fix No such file or directory expression error On z/OS, the following error message is not matched correctly in lit tests. This patch updates the CHECK expression to match the end period successfully. ``` EDC5129I No such file or directory. ``` Differential Revision: https://reviews.llvm.org/D94239 --- clang/test/Frontend/stats-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/Frontend/stats-file.c b/clang/test/Frontend/stats-file.c index 007bb7f..0d0a97b 100644 --- a/clang/test/Frontend/stats-file.c +++ b/clang/test/Frontend/stats-file.c @@ -5,4 +5,4 @@ // CHECK: } // RUN: %clang_cc1 -emit-llvm -o %t -stats-file=%t.doesnotexist/bla %s 2>&1 | FileCheck -check-prefix=OUTPUTFAIL %s -// OUTPUTFAIL: warning: unable to open statistics output file '{{.*}}doesnotexist{{.}}bla': '{{.*}}{{[Nn]}}o such file or directory' +// OUTPUTFAIL: warning: unable to open statistics output file '{{.*}}doesnotexist{{.}}bla': '{{.*}}{{[Nn]}}o such file or directory{{.*}}' -- 2.7.4