test: improve wasi stat test
This commit improved the stat test a bit by verifying that
S_ISDIR()
works properly. It also adds missing coverage for
__wasi_path_remove_directory()
.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines