diff --git a/src/tools/procfs.rs b/src/tools/procfs.rs index db85bd3d..e81bf82d 100644 --- a/src/tools/procfs.rs +++ b/src/tools/procfs.rs @@ -405,3 +405,18 @@ pub fn read_proc_net_ipv6_route() -> Result, Error> { Ok(result) } + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn test_read_proc_net_route() { + read_proc_net_route().unwrap(); + } + + #[test] + fn test_read_proc_net_ipv6_route() { + read_proc_net_ipv6_route().unwrap(); + } +}