From 7fd3d58b2392c9b03a1d8e1f181ef25da9ee63bf Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Mon, 25 Jan 2021 12:20:10 -0800 Subject: [PATCH] enumerate windows test failures, move the file --- crates/test-programs/TEST_FAILURES | 43 ++++++++++++++++++++++++++++++ crates/wasi-c2/TEST_FAILURES | 27 ------------------- 2 files changed, 43 insertions(+), 27 deletions(-) create mode 100644 crates/test-programs/TEST_FAILURES delete mode 100644 crates/wasi-c2/TEST_FAILURES diff --git a/crates/test-programs/TEST_FAILURES b/crates/test-programs/TEST_FAILURES new file mode 100644 index 0000000000..31bda707d0 --- /dev/null +++ b/crates/test-programs/TEST_FAILURES @@ -0,0 +1,43 @@ + +TODOs: +* File::reopen_with_fdflags is unimplemented, File::get_fdflags is lying - these are + fcntl on unix, reopenfile / require reopening on windows. + + + +# Linux + +* path_link + - need DirExt::hard_link that follows symlinks. +* path_rename_trailing_slashes + - trailing slash behavior of files is wrong: trailing slashes are ignored, + should cause an error. +* remove_directory_trailing_slashes + - cap-std Dir::remove_dir gives EINVAL when trying to remove dir with + trailing slash. otherwise, everything passes. + +* fd_flags_set + - set_fdflags is not implemented. test wanted to clear O_APPEND mode +* path_filestat + - fdstat.fs_flags is not populated correctly - APPEND | SYNC aren't + present because File::get_fdflags isnt implemented correctly + + +# Windows + +fd_readdir +file_allocate +interesting_paths +nofollow_errors +path_rename + +path_link + +path_rename_trailing_slashes +path_symlink_trailing_slashes +remove_directory_trailing_slashes +unlink_file_trailing_slashes + +fd_flags_set +path_filestat + diff --git a/crates/wasi-c2/TEST_FAILURES b/crates/wasi-c2/TEST_FAILURES deleted file mode 100644 index f3cb28ee13..0000000000 --- a/crates/wasi-c2/TEST_FAILURES +++ /dev/null @@ -1,27 +0,0 @@ - -TODOs: -* path_filestat_set_times, fd_filestat_set_times: different types used to set - times for a Dir vs a File, this is a fs_set_times vs cap_fs_ext divergence -* File::set_fdflags is unimplemented, File::get_fdflags is lying - these are - fcntl on unix, reopenfile / ?? on windows. Not implemented in system-interface yet. -* async scheduling! - - -wasi_tests::path_link - - need DirExt::hard_link that follows symlinks. -wasi_tests::path_rename_trailing_slashes - - trailing slash behavior of files is wrong: trailing slashes are ignored, - should cause an error. -wasi_tests::remove_directory_trailing_slashes - - cap-std Dir::remove_dir gives EINVAL when trying to remove dir with - trailing slash. otherwise, everything passes. - -wasi_tests::fd_flags_set - - set_fdflags is not implemented. test wanted to clear O_APPEND mode -wasi_tests::path_filestat - - fdstat.fs_flags is not populated correctly - APPEND | SYNC aren't - present because File::get_fdflags isnt implemented correctly - - -wasi_tests::poll_oneoff - - no sched yet