Skip to content

Commit

Permalink
Fix build on Windows
Browse files Browse the repository at this point in the history
It seems like the `sed` on Windows is not particularly
smart. It's not actually needed in this place, so I've
removed it's usage and just created an invalid yaml
another way.
  • Loading branch information
abrachet committed Jul 11, 2022
1 parent c3c17b1 commit 5176a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lld/test/COFF/vfsoverlay.test
Expand Up @@ -9,7 +9,7 @@
# RUN: | FileCheck %s
# CHECK: error: {{[Nn]}}o such file or directory

# RUN: sed -e "s|{|bad|g" %t/overlay.yaml > %t/badoverlay.yaml
# RUN: echo "invalid yaml" > %t/badoverlay.yaml
# RUN: not lld-link %S/Inputs/hello64.obj /libpath:/noexist /out:%t.exe /entry:main /defaultlib:notstd64 /vfsoverlay:%t/badoverlay.yaml 2>&1 \
# RUN: | FileCheck %s --check-prefix=BAD-OVERLAY
# BAD-OVERLAY: error: Invalid vfs overlay
Expand Down

0 comments on commit 5176a76

Please sign in to comment.