[lld-link] Tweak winsysroottest.test to have passing links on happy path
authorNico Weber <thakis@chromium.org>
Sun, 13 Mar 2022 14:35:38 +0000 (10:35 -0400)
committerNico Weber <thakis@chromium.org>
Mon, 14 Mar 2022 14:44:26 +0000 (10:44 -0400)
commit17414150cfa0e25656fff11d41c42294a03b07a1
tree9da0936d0c7cdfcdb35e09819f94457a5ec347eb
parent9e3e85ac6efeb948647810dae93f3ba0cc8a4314
[lld-link] Tweak winsysroottest.test to have passing links on happy path

Previously, the test checked for a "undefined symbol" error
(instead of the "could not open std*.lib" which would happen without
the flag).

Instead, use /entry: so that the link succeeds.

No behavior change, but maybe makes the test a bit easier to understand.

Differential Revision: https://reviews.llvm.org/D121553
lld/test/COFF/winsysroot.test