blob: 6ba948a4c873c5915c56248ff8e5774b52e5c7f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
use same_file::is_same_file;
use std::io;
fn try_main() -> Result<(), io::Error> {
assert!(is_same_file("/bin/sh", "/usr/bin/sh")?);
Ok(())
}
fn main() {
try_main().unwrap();
}
|