Remove the part of the error message that may vary across systems.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254938
91177308-0d34-0410-b5e6-
96231b3b80d8
// Ensure we get expected error for missing index file
// RUN: %clang -target x86_64-unknown-linux -O2 -o %t1.o -x ir %t.o -c -fthinlto-index=bad.thinlto.bc 2>&1 | FileCheck %s -check-prefix=CHECK-ERROR
-// CHECK-ERROR: Error loading index file 'bad.thinlto.bc': No such file or directory
+// CHECK-ERROR: Error loading index file 'bad.thinlto.bc'
// Ensure Function Importing pass added
// RUN: %clang -target x86_64-unknown-linux -O2 -o %t1.o -x ir %t.o -c -fthinlto-index=%t.thinlto.bc -mllvm -debug-pass=Structure 2>&1 | FileCheck %s -check-prefix=CHECK-PASS