diff --git a/crates/test-programs/wasi-tests/src/bin/directory_seek.rs b/crates/test-programs/wasi-tests/src/bin/directory_seek.rs index 3e1742dcb4..72b7a8dc6c 100644 --- a/crates/test-programs/wasi-tests/src/bin/directory_seek.rs +++ b/crates/test-programs/wasi-tests/src/bin/directory_seek.rs @@ -33,7 +33,7 @@ unsafe fn test_directory_seek(dir_fd: wasi::Fd) { ); assert_eq!( (fdstat.fs_rights_base & wasi::RIGHTS_FD_SEEK), - 0, + wasi::RIGHTS_FD_SEEK, "directory has the seek right", ); diff --git a/crates/wasi-c2/TEST_FAILURES b/crates/wasi-c2/TEST_FAILURES index d8e59f8cea..4394803135 100644 --- a/crates/wasi-c2/TEST_FAILURES +++ b/crates/wasi-c2/TEST_FAILURES @@ -16,9 +16,6 @@ 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::directory_seek - - something weird about directory open rights / fdstat. need debug - impl of Caps to see about this wasi_tests::fd_flags_set - set_fdflags is not implemented. test wanted to clear O_APPEND mode wasi_tests::path_filestat