Skip to content

Commit ed86eb7

Browse files
committed
Fix windows test
1 parent 291412a commit ed86eb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/InstallAPI/invalid-exclusive-passes.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
; RUN: -install_name @rpath/libfoo.dylib -current_version 1 \
4343
; RUN: -compatibility_version 1 -optionlist %t/invalid_loc.json \
4444
; RUN: -I/fake/path -I%t -dynamiclib \
45-
; RUN: -o %t/output.tbd %t 2>&1 | FileCheck %s --check-prefix=INVALID_JSON_LOC
46-
; INVALID_JSON_LOC: error: cannot open file {{.*}}invalid_loc.json': No such file or directory
45+
; RUN: -o %t/output.tbd %t 2>&1 | FileCheck %s --check-prefix=INVALID_JSON_LOC -DMSG=%errc_ENOENT %s
46+
; INVALID_JSON_LOC: error: cannot open file {{.*}}invalid_loc.json': [[MSG]]
4747

4848
// Validate invalid json format
4949
; RUN: not clang-installapi -target arm64-apple-macos12 \

0 commit comments

Comments
 (0)