| /wasmtime-44.0.1/crates/test-programs/src/bin/ |
| H A D | p1_path_symlink_trailing_slashes.rs | 4 use test_programs::preview1::{assert_errno, config, create_file, open_scratch_directory}; 9 assert_errno!( in test_path_symlink_trailing_slashes() 23 assert_errno!( in test_path_symlink_trailing_slashes() 33 assert_errno!( in test_path_symlink_trailing_slashes() 44 assert_errno!( in test_path_symlink_trailing_slashes() 55 assert_errno!( in test_path_symlink_trailing_slashes()
|
| H A D | p1_nofollow_errors.rs | 4 use test_programs::preview1::{assert_errno, open_scratch_directory}; 14 assert_errno!( in test_nofollow_errors() 22 assert_errno!( in test_nofollow_errors() 57 assert_errno!( in test_nofollow_errors() 65 assert_errno!( in test_nofollow_errors() 72 assert_errno!( in test_nofollow_errors()
|
| H A D | p1_path_rename.rs | 4 use test_programs::preview1::{TestConfig, assert_errno, create_file, open_scratch_directory}; 15 assert_errno!( in test_path_rename() 38 assert_errno!( in test_path_rename() 60 assert_errno!( in test_path_rename() 71 assert_errno!( in test_path_rename() 86 assert_errno!( in test_path_rename() 110 assert_errno!( in test_path_rename() 129 assert_errno!( in test_path_rename()
|
| H A D | p1_interesting_paths.rs | 4 use test_programs::preview1::{assert_errno, create_file, open_scratch_directory}; 17 assert_errno!( in test_interesting_paths() 41 assert_errno!( in test_interesting_paths() 49 assert_errno!( in test_interesting_paths() 57 assert_errno!( in test_interesting_paths() 84 assert_errno!( in test_interesting_paths()
|
| H A D | p1_path_link.rs | 4 use test_programs::preview1::{assert_errno, config, create_file, open_scratch_directory}; 92 assert_errno!( in test_path_link() 100 assert_errno!( in test_path_link() 109 assert_errno!( in test_path_link() 121 assert_errno!( in test_path_link() 131 assert_errno!( in test_path_link() 158 assert_errno!( in test_path_link() 169 assert_errno!( in test_path_link()
|
| H A D | p1_unlink_file_trailing_slashes.rs | 4 use test_programs::preview1::{assert_errno, create_file, open_scratch_directory}; 11 assert_errno!( in test_unlink_file_trailing_slashes() 20 assert_errno!( in test_unlink_file_trailing_slashes() 35 assert_errno!( in test_unlink_file_trailing_slashes()
|
| H A D | p1_remove_directory.rs | 4 use test_programs::preview1::{assert_errno, create_file, open_scratch_directory}; 22 assert_errno!( in test_remove_directory() 29 assert_errno!( in test_remove_directory()
|
| H A D | p1_dangling_symlink.rs | 4 use test_programs::preview1::{assert_errno, config, open_scratch_directory}; 12 assert_errno!( in test_dangling_symlink() 21 assert_errno!( in test_dangling_symlink()
|
| H A D | p1_path_filestat.rs | 5 TestConfig, assert_errno, assert_fs_time_eq, open_scratch_directory, 35 assert_errno!( in test_path_filestat() 74 assert_errno!( in test_path_filestat() 98 assert_errno!( in test_path_filestat()
|
| H A D | p1_poll_oneoff_stdio.rs | 5 use test_programs::preview1::{STDERR_FD, STDIN_FD, STDOUT_FD, assert_errno}; 58 assert_errno!(event.error, wasip1::ERRNO_SUCCESS); in test_stdin_read() 64 assert_errno!(event.error, wasip1::ERRNO_SUCCESS); in test_stdin_read() 123 assert_errno!(event.error, wasip1::ERRNO_SUCCESS); in test_stdout_stderr_write()
|
| H A D | p1_poll_oneoff_files.rs | 4 use test_programs::preview1::{assert_errno, open_scratch_directory}; 52 assert_errno!( in test_empty_poll() 79 assert_errno!(event.error, wasip1::ERRNO_SUCCESS); in test_timeout() 117 assert_errno!(event.error, wasip1::ERRNO_SUCCESS); in test_sleep() 174 assert_errno!(read.error, error_code); in test_fd_readwrite() 184 assert_errno!(write.error, error_code); in test_fd_readwrite()
|
| H A D | p1_path_open_missing.rs | 4 use test_programs::preview1::{assert_errno, open_scratch_directory}; 7 assert_errno!( in test_path_open_missing()
|
| H A D | p1_symlink_loop.rs | 4 use test_programs::preview1::{assert_errno, config, open_scratch_directory}; 12 assert_errno!( in test_symlink_loop()
|
| H A D | p1_path_open_create_existing.rs | 4 use test_programs::preview1::{assert_errno, create_file, open_scratch_directory}; 8 assert_errno!( in test_path_open_create_existing()
|
| H A D | p1_path_open_dirfd_not_dir.rs | 4 use test_programs::preview1::{assert_errno, open_scratch_directory}; 11 assert_errno!( in test_dirfd_not_dir()
|
| H A D | p1_remove_nonempty_directory.rs | 4 use test_programs::preview1::{assert_errno, open_scratch_directory}; 14 assert_errno!( in test_remove_nonempty_directory()
|
| H A D | p1_close_preopen.rs | 4 use test_programs::preview1::{assert_errno, open_scratch_directory}; 23 assert_errno!( in test_close_preopen()
|
| H A D | p1_directory_seek.rs | 4 use test_programs::preview1::{assert_errno, open_scratch_directory}; 19 assert_errno!( in test_directory_seek()
|
| H A D | p1_overwrite_preopen.rs | 4 use test_programs::preview1::{assert_errno, open_scratch_directory}; 24 assert_errno!( in test_overwrite_preopen()
|
| H A D | p1_path_open_read_write.rs | 4 use test_programs::preview1::{assert_errno, create_file, open_scratch_directory}; 38 assert_errno!( in test_path_open_read_write() 67 assert_errno!( in test_path_open_read_write()
|
| H A D | p1_renumber.rs | 4 use test_programs::preview1::{assert_errno, open_scratch_directory}; 51 assert_errno!( in test_renumber()
|
| H A D | p1_fd_filestat_set.rs | 5 TestConfig, assert_errno, assert_fs_time_eq, open_scratch_directory, 55 assert_errno!( in test_fd_filestat_set_size_ro()
|
| H A D | p1_file_seek_tell.rs | 4 use test_programs::preview1::{assert_errno, open_scratch_directory}; 60 assert_errno!( in test_file_seek_tell()
|
| /wasmtime-44.0.1/crates/test-programs/src/ |
| H A D | preview1.rs | 54 pub use crate::{assert_errno, assert_fs_time_eq}; 57 macro_rules! assert_errno { macro 61 assert_errno!(e, $i); 63 assert_errno!(e, $($rest)+, $i); 69 assert_errno!(e, $i); 71 assert_errno!(e, $($rest)+, $i); 77 assert_errno!(e, $i); 79 assert_errno!(e, $($rest)+, $i);
|