Skip to content

Commit 7d32e6e

Browse files
committed
[lld-macho] Fix invalid-stub test on Windows, take 2
1 parent 2781f30 commit 7d32e6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lld/test/MachO/invalid/invalid-stub.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# RUN: echo "--- !tapi-tbd-v3" > %t/libinvalidYAML.tbd
44
# RUN: echo "invalid YAML" >> %t/libinvalidYAML.tbd
55
# RUN: llvm-mc -filetype obj -triple x86_64-apple-darwin %s -o %t/test.o
6-
# RUN: not lld -flavor darwinnew -Z -L%t -linvalidYAML %t/test.o -o %t/test -Z 2>&1 | FileCheck %s -DFILE=%t/libinvalidYAML.tbd
6+
# RUN: not lld -flavor darwinnew -Z -L%t -linvalidYAML %t/test.o -o %t/test -Z 2>&1 | FileCheck %s -DDIR=%t
77

8-
# CHECK: could not load TAPI file at [[FILE]]: malformed file
8+
# CHECK: could not load TAPI file at [[DIR]]{{[\\/]}}libinvalidYAML.tbd: malformed file
99

1010
.globl _main
1111
_main:

0 commit comments

Comments
 (0)