From cccaba63c2b4213b9a6fc75baeb60e941d406bae Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Thu, 19 Jun 2025 09:42:22 +0200 Subject: [PATCH] tee: move test to "linux_only" module --- tests/by-util/test_tee.rs | 43 ++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/tests/by-util/test_tee.rs b/tests/by-util/test_tee.rs index 4dba33342..9ba11c6d8 100644 --- a/tests/by-util/test_tee.rs +++ b/tests/by-util/test_tee.rs @@ -8,8 +8,6 @@ use uutests::util::TestScenario; use uutests::{at_and_ucmd, new_ucmd, util_name}; use regex::Regex; -#[cfg(target_os = "linux")] -use std::fmt::Write; use std::process::Stdio; use std::time::Duration; @@ -94,27 +92,6 @@ fn test_tee_append() { assert_eq!(at.read(file), content.repeat(2)); } -#[test] -#[cfg(target_os = "linux")] -fn test_tee_no_more_writeable_1() { - // equals to 'tee /dev/full out2