Rollup merge of #46943 - malbarbo:process-test-busybox, r=alexcrichton
Fix process test when using busybox mkdir busybox mkdir . returns 0 busybox mkdir ./ returns 1
This commit is contained in:
commit
4ababefc55
|
@ -1584,7 +1584,7 @@ mod tests {
|
|||
= if cfg!(target_os = "windows") {
|
||||
Command::new("cmd").args(&["/C", "mkdir ."]).output().unwrap()
|
||||
} else {
|
||||
Command::new("mkdir").arg(".").output().unwrap()
|
||||
Command::new("mkdir").arg("./").output().unwrap()
|
||||
};
|
||||
|
||||
assert!(status.code() == Some(1));
|
||||
|
|
Loading…
Reference in New Issue