p3_path_link test by squillace · Pull Request #12810 · bytecodealliance/wasmtime
Thanks! Test looks to me to be a faithful translation (mostly). The missing piece here is the config().support_dangling_filesystem()-guarded part of the original test, which is a bit esoteric. I believe though that the same parts of that test can be included here too?
One thing that might also be nice is to separate out each of these individual tests to their own functions to make it a bit clearer that there's a bunch of test cases. It was all glommed together in the p1 test but I think it'd be fine to refactor-as-we-go into p3.