diff --git a/test/Object/ar-error.test b/test/Object/ar-error.test index 9b8ddbd78fb..7add9b448e1 100644 --- a/test/Object/ar-error.test +++ b/test/Object/ar-error.test @@ -2,4 +2,5 @@ Test if we get a proper error with a filename that doesn't exist RUN: not llvm-ar r %t.out.a sparkle.o %t 2>&1 | FileCheck %s -CHECK: llvm-ar{{(.exe|.EXE)?}}: sparkle.o: No such file or directory +# Don't check the message "No such file or directory". +CHECK: llvm-ar{{(.exe|.EXE)?}}: sparkle.o: