1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Remove the full path to test

This commit is contained in:
Sylvestre Ledru 2023-09-28 15:36:06 +02:00 committed by GitHub
parent f0f64bd3b7
commit a17ede9ef0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ enum ArgType {
// Add any other types as needed // Add any other types as needed
} }
static CMD_PATH: &str = "/usr/bin/test"; static CMD_PATH: &str = "test";
fn run_gnu_test(args: &[OsString]) -> Result<(String, i32), std::io::Error> { fn run_gnu_test(args: &[OsString]) -> Result<(String, i32), std::io::Error> {
let mut command = Command::new(CMD_PATH); let mut command = Command::new(CMD_PATH);