Skip to content

Commit e509eda

Browse files
be consistent with ignore message
1 parent 9cb64fc commit e509eda

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎cot-cli/src/project.rs‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ edition = "2024"
184184
#[test]
185185
#[cfg_attr(
186186
miri,
187-
ignore = "unsupported operation: socketpair: type 0x5 is unsupported"
187+
ignore = "unsupported operation: socketpair: type 0x5 is unsupported, only SOCK_STREAM, SOCK_CLOEXEC and SOCK_NONBLOCK are allowed"
188188
)]
189189
fn load_returns_none_without_cargo_manifest() {
190190
let (_guard, temp_dir) = canonical_temp_dir();
@@ -212,7 +212,7 @@ edition = "2024"
212212
#[test]
213213
#[cfg_attr(
214214
miri,
215-
ignore = "unsupported operation: socketpair: type 0x5 is unsupported"
215+
ignore = "unsupported operation: socketpair: type 0x5 is unsupported, only SOCK_STREAM, SOCK_CLOEXEC and SOCK_NONBLOCK are allowed"
216216
)]
217217
fn load_returns_none_when_expected_binary_is_missing() {
218218
let (_guard, temp_dir) = canonical_temp_dir();
@@ -331,7 +331,7 @@ path = "src/worker.rs"
331331
#[test]
332332
#[cfg_attr(
333333
miri,
334-
ignore = "unsupported operation: socketpair: type 0x5 is unsupported"
334+
ignore = "unsupported operation: socketpair: type 0x5 is unsupported, only SOCK_STREAM, SOCK_CLOEXEC and SOCK_NONBLOCK are allowed"
335335
)]
336336
fn load_errors_on_multiple_bin_targets_without_override() {
337337
let (_guard, temp_dir) = canonical_temp_dir();
@@ -397,7 +397,7 @@ path = "src/worker.rs"
397397
#[test]
398398
#[cfg_attr(
399399
miri,
400-
ignore = "unsupported operation: socketpair: type 0x5 is unsupported"
400+
ignore = "unsupported operation: socketpair: type 0x5 is unsupported, only SOCK_STREAM, SOCK_CLOEXEC and SOCK_NONBLOCK are allowed"
401401
)]
402402
fn workspace_root_requires_package_when_ambiguous() {
403403
let (_guard, temp_dir) = canonical_temp_dir();
@@ -417,7 +417,7 @@ path = "src/worker.rs"
417417
#[test]
418418
#[cfg_attr(
419419
miri,
420-
ignore = "unsupported operation: socketpair: type 0x5 is unsupported"
420+
ignore = "unsupported operation: socketpair: type 0x5 is unsupported, only SOCK_STREAM, SOCK_CLOEXEC and SOCK_NONBLOCK are allowed"
421421
)]
422422
fn workspace_package_flag_must_match_member() {
423423
let (_guard, temp_dir) = canonical_temp_dir();

‎cot-cli/tests/cli.rs‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ mod snapshot_testing {
1515
#[test]
1616
#[cfg_attr(
1717
miri,
18-
ignore = "unsupported operation: socketpair: type 0x5 is unsupported"
18+
ignore = "unsupported operation: socketpair: type 0x5 is unsupported, only SOCK_STREAM, SOCK_CLOEXEC and SOCK_NONBLOCK are allowed"
1919
)]
2020
fn discovery_honors_cargo_target_dir_env_var() {
2121
let project = CotProjectBuilder::new(snapshot_testing::cot_cli_path())
@@ -43,7 +43,7 @@ fn discovery_honors_cargo_target_dir_env_var() {
4343
#[test]
4444
#[cfg_attr(
4545
miri,
46-
ignore = "unsupported operation: socketpair: type 0x5 is unsupported"
46+
ignore = "unsupported operation: socketpair: type 0x5 is unsupported, only SOCK_STREAM, SOCK_CLOEXEC and SOCK_NONBLOCK are allowed"
4747
)]
4848
fn discovery_honors_project_level_cargo_config() {
4949
let project = CotProjectBuilder::new(snapshot_testing::cot_cli_path())
@@ -71,7 +71,7 @@ fn discovery_honors_project_level_cargo_config() {
7171
#[test]
7272
#[cfg_attr(
7373
miri,
74-
ignore = "unsupported operation: socketpair: type 0x5 is unsupported"
74+
ignore = "unsupported operation: socketpair: type 0x5 is unsupported, only SOCK_STREAM, SOCK_CLOEXEC and SOCK_NONBLOCK are allowed"
7575
)]
7676
fn discovery_honors_global_cargo_config() {
7777
let project = CotProjectBuilder::new(snapshot_testing::cot_cli_path())
@@ -107,7 +107,7 @@ fn discovery_honors_global_cargo_config() {
107107
#[test]
108108
#[cfg_attr(
109109
miri,
110-
ignore = "unsupported operation: socketpair: type 0x5 is unsupported"
110+
ignore = "unsupported operation: socketpair: type 0x5 is unsupported, only SOCK_STREAM, SOCK_CLOEXEC and SOCK_NONBLOCK are allowed"
111111
)]
112112
fn cargo_target_dir_env_wins_over_project_config() {
113113
let project = CotProjectBuilder::new(snapshot_testing::cot_cli_path())

0 commit comments

Comments
 (0)