Home
last modified time | relevance | path

Searched refs:assert_errno (Results 1 – 24 of 24) sorted by relevance

/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dp1_path_symlink_trailing_slashes.rs4 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 Dp1_nofollow_errors.rs4 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 Dp1_path_rename.rs4 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 Dp1_interesting_paths.rs4 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 Dp1_path_link.rs4 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 Dp1_unlink_file_trailing_slashes.rs4 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 Dp1_remove_directory.rs4 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 Dp1_dangling_symlink.rs4 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 Dp1_path_filestat.rs5 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 Dp1_poll_oneoff_stdio.rs5 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 Dp1_poll_oneoff_files.rs4 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 Dp1_path_open_missing.rs4 use test_programs::preview1::{assert_errno, open_scratch_directory};
7 assert_errno!( in test_path_open_missing()
H A Dp1_symlink_loop.rs4 use test_programs::preview1::{assert_errno, config, open_scratch_directory};
12 assert_errno!( in test_symlink_loop()
H A Dp1_path_open_create_existing.rs4 use test_programs::preview1::{assert_errno, create_file, open_scratch_directory};
8 assert_errno!( in test_path_open_create_existing()
H A Dp1_path_open_dirfd_not_dir.rs4 use test_programs::preview1::{assert_errno, open_scratch_directory};
11 assert_errno!( in test_dirfd_not_dir()
H A Dp1_remove_nonempty_directory.rs4 use test_programs::preview1::{assert_errno, open_scratch_directory};
14 assert_errno!( in test_remove_nonempty_directory()
H A Dp1_close_preopen.rs4 use test_programs::preview1::{assert_errno, open_scratch_directory};
23 assert_errno!( in test_close_preopen()
H A Dp1_directory_seek.rs4 use test_programs::preview1::{assert_errno, open_scratch_directory};
19 assert_errno!( in test_directory_seek()
H A Dp1_overwrite_preopen.rs4 use test_programs::preview1::{assert_errno, open_scratch_directory};
24 assert_errno!( in test_overwrite_preopen()
H A Dp1_path_open_read_write.rs4 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 Dp1_renumber.rs4 use test_programs::preview1::{assert_errno, open_scratch_directory};
51 assert_errno!( in test_renumber()
H A Dp1_fd_filestat_set.rs5 TestConfig, assert_errno, assert_fs_time_eq, open_scratch_directory,
55 assert_errno!( in test_fd_filestat_set_size_ro()
H A Dp1_file_seek_tell.rs4 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 Dpreview1.rs54 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);