pwd-grp 1.0.2

Access Unix passwords and groups
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::*;

#[test]
fn basic() {
    let pwent = getpwnam("root").unwrap().unwrap();
    assert_eq!(pwent.uid, 0);
}

#[cfg(feature = "test-with-lmock")]
#[macro_use]
pub(crate) mod with_lmock;