Skip to content

Commit

Permalink
Fix process test when using busybox mkdir
Browse files Browse the repository at this point in the history
busybox mkdir . returns 0
busybox mkdir ./ returns 1
  • Loading branch information
malbarbo committed Dec 22, 2017
1 parent ba27415 commit dc71cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit dc71cab

Please sign in to comment.