2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-profdata/weight-sample.test
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ INVALID_WEIGHT: error: Input weight must be a positive integer.

4- Bad merge: input path does not exist
RUN: not llvm-profdata merge -sample -weighted-input=3,%p/Inputs/does-not-exist.proftext -weighted-input=2,%p/Inputs/does-not-exist-either.proftext -o %t.out 2>&1 | FileCheck %s -check-prefix=INVALID_INPUT
INVALID_INPUT: {{.*}}: {{.*}}does-not-exist.proftext: {{.*}}{{[Nn]}}o such file or directory
INVALID_INPUT: {{.*}}: {{.*}}does-not-exist.proftext: {{[Nn]}}o such file or directory

5- No inputs
RUN: not llvm-profdata merge -sample -o %t.out 2>&1 | FileCheck %s -check-prefix=NO_INPUT
Expand Down
4 changes: 2 additions & 2 deletions llvm/test/tools/llvm-readobj/ELF/thin-archive-paths.test
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# RUN: rm a/b/1.o
# RUN: not llvm-readobj --file-headers a/relative.a 2>&1 | FileCheck %s --check-prefix=ERR1
# RUN: not llvm-readelf --file-headers a/relative.a 2>&1 | FileCheck %s --check-prefix=ERR1
# ERR1: error: 'a/relative.a': 'b/1.o': {{.*}}{{[Nn]}}o such file or directory
# ERR1: error: 'a/relative.a': 'b/1.o': {{[Nn]}}o such file or directory

# RUN: mkdir -p %t/c
# RUN: yaml2obj %s -o a/b/1.o
Expand All @@ -30,7 +30,7 @@
# RUN: rm a/b/1.o
# RUN: not llvm-readobj --file-headers %/t/c/absolute.a 2>&1 | FileCheck %s --check-prefix=ERR2 -DDIR=%/t
# RUN: not llvm-readelf --file-headers %/t/c/absolute.a 2>&1 | FileCheck %s --check-prefix=ERR2 -DDIR=%/t
# ERR2: error: '[[DIR]]/c/absolute.a': '[[DIR]]/a/b/1.o': {{.*}}{{[Nn]}}o such file or directory
# ERR2: error: '[[DIR]]/c/absolute.a': '[[DIR]]/a/b/1.o': {{[Nn]}}o such file or directory

--- !ELF
FileHeader:
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-readobj/basic.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
RUN: not llvm-readobj %t.blah 2>&1 | FileCheck --check-prefix=ENOENT -DTOOL=readobj %s
RUN: not llvm-readelf %t.blah 2>&1 | FileCheck --check-prefix=ENOENT -DTOOL=readelf %s

ENOENT: llvm-[[TOOL]]{{(\.exe)?}}: error: '{{.*}}.blah': {{.*}}{{[Nn]}}o such file or directory
ENOENT: llvm-[[TOOL]]{{(\.exe)?}}: error: '{{.*}}.blah': {{[Nn]}}o such file or directory

# Test case with no input file.
RUN: not llvm-readobj 2>&1 | FileCheck %s --check-prefix=NO-FILE
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-readobj/thin-archive.test
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
# MISSING: File: {{.*}}1.o
# MISSING: Format: elf64-x86-64
# MISSING-NOT: File: {{.*}}3.o
# ERR: error: '{{.*}}.a': '{{.*}}2.o': {{.*}}{{[Nn]}}o such file or directory
# ERR: error: '{{.*}}.a': '{{.*}}2.o': {{[Nn]}}o such file or directory

--- !ELF
FileHeader:
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-size/no-input.test
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Show that llvm-size emits an error if passed in a non-existent file.

# RUN: not llvm-size %t.blah 2>&1 | FileCheck %s -DFILE=%t.blah --check-prefix=ENOENT
# ENOENT: {{.*}}llvm-size{{.*}}: error: '[[FILE]]': {{.*}}{{[Nn]}}o such file or directory
# ENOENT: {{.*}}llvm-size{{.*}}: error: '[[FILE]]': {{[Nn]}}o such file or directory

## Show that llvm-size reads a.out if not passed any file.

Expand Down
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-symbolizer/pdb/missing_pdb.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN: FileCheck --check-prefix=ERROR %s < %t.err

llvm-symbolizer should print one error and two unknown line info records.

ERROR: LLVMSymbolizer: error reading file: {{.*}}: {{.*}}{{N|n}}o such file or directory
ERROR: LLVMSymbolizer: error reading file: {{.*}}: {{N|n}}o such file or directory
ERROR-NOT: error reading file

CHECK: ??
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-xray/X86/no-such-file.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: not llvm-xray extract no-such-file 2>&1 | FileCheck %s

; CHECK: llvm-xray: Cannot extract instrumentation map from 'no-such-file'.
; CHECK-NEXT: {{.*}}{{[Nn]}}o such file or directory
; CHECK-NEXT: {{[Nn]}}o such file or directory
2 changes: 1 addition & 1 deletion llvm/test/tools/obj2yaml/invalid_input_file.test
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# RUN: not obj2yaml %p/path/does/not/exist 2>&1 | FileCheck %s

# CHECK: Error reading file: {{.*}}/path/does/not/exist: {{.*}}{{[Nn]}}o such file or directory
# CHECK: Error reading file: {{.*}}/path/does/not/exist: {{[Nn]}}o such file or directory
2 changes: 1 addition & 1 deletion llvm/test/tools/yaml2obj/output-file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# RUN: not yaml2obj -o %p/path/does/not/exist 2>&1 | FileCheck %s

# CHECK: yaml2obj: error: failed to open '{{.*}}/path/does/not/exist': {{.*}}{{[Nn]}}o such file or directory
# CHECK: yaml2obj: error: failed to open '{{.*}}/path/does/not/exist': {{[Nn]}}o such file or directory

!ELF
FileHeader:
Expand Down