☰
Debian Codegraph
@
0.12.0-1
0.10.0-1
/
/
debian
/
rust-vendor
/
nix
/
test
/
sys
/
test_statvfs.rs
☽
☼
debian/rust-vendor/nix/test/sys/test_statvfs.rs
code
plain
raw
MIT
or
Apache-2.0
the respective crate authors
debian/copyright
1
use nix::sys::statvfs::*;
2
use std::fs::File;
3
4
#[test]
5
fn statvfs_call() {
6
statvfs(&b"/"[..]).unwrap();
7
}
8
9
#[test]
10
fn fstatvfs_call() {
11
let root = File::open("/").unwrap();
12
fstatvfs(&root).unwrap();
13
}