]>
git.proxmox.com Git - rustc.git/blob - vendor/rustix/tests/process/uname.rs
3 let name
: rustix
::process
::Uname
= rustix
::process
::uname();
5 assert
!(!name
.sysname().to_bytes().is_empty());
6 assert
!(!name
.nodename().to_bytes().is_empty());
7 assert
!(!name
.release().to_bytes().is_empty());
8 assert
!(!name
.version().to_bytes().is_empty());
9 assert
!(!name
.machine().to_bytes().is_empty());
11 #[cfg(any(target_os = "android", target_os = "linux"))]
12 assert
!(!name
.domainname().to_bytes().is_empty());