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:
commit
80bc8a7101
1 changed files with 6 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue