Skip to content

Commit a493843

Browse files
committed
Fixup test after r352704 since it changes how paths may be emitted.
On Unix/Mac OS X, normpath() returns the path unchanged (FileCheck), but on case-insensitive filesystems (like NTFS on Windows), it converts the path to lowercase (filecheck) which was causing the test to fail. llvm-svn: 352735
1 parent 4c81a2b commit a493843

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/test/FileCheck/check-empty.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
; NOFOO-NOT: foo
88

99
; EMPTY-ERR: FileCheck error: '-' is empty.
10-
; EMPTY-ERR-NEXT: FileCheck command line: {{.*}}FileCheck{{.*}}-check-prefix={{.*}}FOO {{.*}}check-empty.txt
10+
; EMPTY-ERR-NEXT: FileCheck command line: {{.*}}{{F|f}}ile{{C|c}}heck{{.*}}-check-prefix={{.*}}FOO {{.*}}check-empty.txt
1111
; NO-EMPTY-ERR-NOT: FileCheck error: '-' is empty.
1212
; NOT-FOUND: error: FOO: expected string not found in input

llvm/test/FileCheck/dump-input-enable.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
; RUN: not FileCheck -dump-input=foobar 2>&1 \
2727
; RUN: | FileCheck %s -match-full-lines -check-prefix=BADVAL
2828

29-
BADVAL: FileCheck{{.*}}: for the -dump-input option: Cannot find option named 'foobar'!
29+
BADVAL: {{F|f}}ile{{C|c}}heck{{.*}}: for the -dump-input option: Cannot find option named 'foobar'!
3030

3131
;--------------------------------------------------
3232
; Check -dump-input=help.

0 commit comments

Comments
 (0)