1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-30 20:47:46 +00:00

Merge pull request #6044 from cakebaker/fix_tests_common_utils

tests/common/util.rs: add `cfg(feature = "env")`
This commit is contained in:
Terts Diepraam 2024-03-03 23:23:00 +01:00 committed by GitHub
commit 80bc8a7101
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3583,6 +3583,7 @@ mod tests {
}
#[cfg(unix)]
#[cfg(feature = "env")]
#[test]
fn test_simulation_of_terminal_false() {
let scene = TestScenario::new("util");
@ -3599,6 +3600,7 @@ mod tests {
}
#[cfg(unix)]
#[cfg(feature = "env")]
#[test]
fn test_simulation_of_terminal_true() {
let scene = TestScenario::new("util");
@ -3620,6 +3622,7 @@ mod tests {
}
#[cfg(unix)]
#[cfg(feature = "env")]
#[test]
fn test_simulation_of_terminal_size_information() {
let scene = TestScenario::new("util");
@ -3646,6 +3649,7 @@ mod tests {
}
#[cfg(unix)]
#[cfg(feature = "env")]
#[test]
fn test_simulation_of_terminal_pty_sends_eot_automatically() {
let scene = TestScenario::new("util");
@ -3662,6 +3666,7 @@ mod tests {
}
#[cfg(unix)]
#[cfg(feature = "env")]
#[test]
fn test_simulation_of_terminal_pty_pipes_into_data_and_sends_eot_automatically() {
let scene = TestScenario::new("util");
@ -3683,6 +3688,7 @@ mod tests {
}
#[cfg(unix)]
#[cfg(feature = "env")]
#[test]
fn test_simulation_of_terminal_pty_write_in_data_and_sends_eot_automatically() {
let scene = TestScenario::new("util");