Add nodefs readdir handling for directories that contain exotic entries#22925
Add nodefs readdir handling for directories that contain exotic entries#22925sbc100 merged 9 commits intoemscripten-core:mainfrom
Conversation
|
Looks like this perhaps requires a wasmfs change to match? wasmfs.test_fs_nodefs_readdir is now failing. Looks like maybe wasmfs is reporting "." and ".." but the old FS is not ? Maybe we want go back to the old way of verifying the results to avoid having to fix these decrpencies as part of this PR? |
|
Yeah maybe the best thing to do would be to grab the output and make a series of assertions that it contains or does not contain certain strings? It seems that the order is not stable but the set of lines should be. |
Sure. That sounds reasonable. I was a little surprised to see who different the wasmfs output was though. I guess there is stuff we need to address there: Specifically it looks like wasmfs supports |
| dev | ||
| proc | ||
| listing contents of dir=/working | ||
| existing |
There was a problem hiding this comment.
Strange that we have . and .. at the root but not in the subdirectory. I guess that just a bug.
|
Rebasing could fix the code size failures. |
|
Looks like the wasm2js failure is real. Might be worth switching to assertions rather then comparing output verbatim? |
Head branch was pushed to by a user without write access
|
@sbc100 can this be merged? Only test failure is |
|
This change (at least I suspect it's this change) seems to be failing on Windows: |
|
I think that may be caused by #23025? Looks more related to that than to this one. |
|
Can you make a followup to #23025 that marks |
Resolves #22924.