mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 20:17:45 +00:00
Merge pull request #6406 from jadijadi/users-openbsd
users: support OpenBSD using utmp
This commit is contained in:
commit
f451714d26
9 changed files with 123 additions and 90 deletions
|
@ -31,3 +31,12 @@ fn test_users_check_name() {
|
|||
|
||||
new_ucmd!().succeeds().stdout_is(&expected);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "openbsd")]
|
||||
fn test_users_check_name_openbsd() {
|
||||
new_ucmd!()
|
||||
.args(&["openbsd_utmp"])
|
||||
.run()
|
||||
.stdout_contains("test");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue