From ff55d11fb1d1e25d7ef667984bd352aa60292de5 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Tue, 23 Jun 2026 11:10:00 +0200 Subject: [PATCH] sum: disable test on OpenBSD as there is no /proc --- tests/by-util/test_sum.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/by-util/test_sum.rs b/tests/by-util/test_sum.rs index fe21059ad2..b90f9d8c30 100644 --- a/tests/by-util/test_sum.rs +++ b/tests/by-util/test_sum.rs @@ -106,7 +106,12 @@ fn test_filename_ends_with_slash() { .stderr_is("sum: a/: Not a directory\n"); } -#[cfg(all(unix, not(windows), not(target_os = "macos")))] +#[cfg(all( + unix, + not(windows), + not(target_os = "macos"), + not(target_os = "openbsd") +))] #[cfg_attr(wasi_runner, ignore)] #[test] fn test_filename_proc_self_mem() {