fs-mistrust: Try to handle verbatim prefixes in test.
We have a test that tries to check that our outputs are the same as
those from std::fs::canonicalize
. But on Windows, they aren't:
There, canonicalize
also puts path prefixes into a "Verbatim"
form.
This patch tries to replicate that behavior for the test only. If
we find that it's unreliable, though, our best bet is probably to
revise or disable this check on Windows, rather than chasing
compatibility with GetFinalPathNameByHandle
.
Should fix part of #557 (closed).