Skip to content

Commit 3483d74

Browse files
committed
ENOENT check pattern
1 parent a75612f commit 3483d74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/tools/llvm-rc/windres-preproc.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
;; Test error messages when unable to execute the preprocessor.
2121

22-
; RUN: not llvm-windres --preprocessor intentionally-missing-executable %p/Inputs/empty.rc %t.res 2>&1 | FileCheck %s --check-prefix=CHECK4
23-
; CHECK4: llvm-rc: Preprocessing failed: posix_spawn failed: No such file or directory
22+
; RUN: not llvm-windres --preprocessor intentionally-missing-executable %p/Inputs/empty.rc %t.res 2>&1 | FileCheck -DMSG=%errc_ENOENT %s --check-prefix=CHECK4
23+
; CHECK4: llvm-rc: Preprocessing failed: posix_spawn failed: [[MSG]]
2424

2525
;; Test --preprocessor with an argument with spaces.
2626

0 commit comments

Comments
 (0)