git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351259
91177308-0d34-0410-b5e6-
96231b3b80d8
RUN: llvm-ar r %t.foo.a %t 2>&1 | FileCheck --check-prefix=CREATE %s
RUN: rm -f %t.foo.a
-CHECK: llvm-ar{{(.exe|.EXE)?}}: error loading '{{[^']+}}.foo.a':
+CHECK: llvm-ar{{(.exe|.EXE)?}}: error: error loading '{{[^']+}}.foo.a':
CREATE: creating {{.*}}.foo.a
RUN: not llvm-ar r %t.out.a sparkle.o %t 2>&1 | FileCheck %s
# Don't check the message "No such file or directory".
-CHECK: llvm-ar{{(.exe|.EXE)?}}: sparkle.o:
+CHECK: llvm-ar{{(.exe|.EXE)?}}: error: sparkle.o:
CHECK-DARWIN: 1472 Nov 19 03:01 2004 very_long_bytecode_file_name.bc
RUN: not llvm-ar x %p/Inputs/GNU.a foo.o 2>&1 | FileCheck --check-prefix=NOTFOUND %s
-NOTFOUND: foo.o was not found
+NOTFOUND: error: 'foo.o' was not found
RUN: not llvm-ar x %p/Inputs/thin.a foo.o 2>&1 | FileCheck %s --check-prefix=THINEXTRACT
THINEXTRACT: extracting from a thin archive is not supported