Skip to content

Commit e4fa68c

Browse files
authored
Merge pull request #7629 from cakebaker/uptime_fix_unused_import_warning
uptime: fix "unused import" warning in test
2 parents ace92dc + 7b6d05f commit e4fa68c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/by-util/test_uptime.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// spell-checker:ignore bincode serde utmp runlevel testusr testx
77
#![allow(clippy::cast_possible_wrap, clippy::unreadable_literal)]
88

9+
#[cfg(not(any(target_os = "openbsd", target_os = "freebsd")))]
910
use uutests::at_and_ucmd;
1011
use uutests::new_ucmd;
1112
use uutests::util::TestScenario;

0 commit comments

Comments
 (0)