1 2 3 4 5 6
#[test] fn test_pid_cwd() { let me = unsafe { libc::getpid() }; assert!(darwin_libproc::pid_cwd(me).is_ok()); }