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
+1 -1
View File
@@ -28,7 +28,7 @@ enum ArgType {
// 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> {
let mut command = Command::new(CMD_PATH);