We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 542e20e commit 07a4399Copy full SHA for 07a4399
tests/by-util/test_uptime.rs
@@ -8,8 +8,7 @@
8
9
#[cfg(not(any(windows, target_os = "openbsd", target_os = "freebsd")))]
10
use uutests::at_and_ucmd;
11
-use uutests::util::TestScenario;
12
-use uutests::{new_ucmd, util_name};
+use uutests::new_ucmd;
13
14
use regex::Regex;
15
@@ -52,6 +51,7 @@ fn test_uptime_for_file_without_utmpx_records() {
52
51
#[test]
53
#[cfg(all(unix, feature = "cp"))]
54
fn test_uptime_with_fifo() {
+ use uutests::{util::TestScenario, util_name};
55
// This test can go on forever in the CI in some cases, might need aborting
56
// Sometimes writing to the pipe is broken
57
let ts = TestScenario::new(util_name!());
0 commit comments