mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-06 19:29:24 +02:00
Differential Revision: https://phabricator.services.mozilla.com/D117851 Depends on D117850
11 lines
191 B
Rust
11 lines
191 B
Rust
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();
|
|
}
|