Skip to content

Commit d04519b

Browse files
committed
Auto merge of #46943 - malbarbo:process-test-busybox, r=alexcrichton
Fix process test when using busybox mkdir busybox mkdir . returns 0 busybox mkdir ./ returns 1
2 parents ebddfcb + dc71cab commit d04519b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/process.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1584,7 +1584,7 @@ mod tests {
15841584
= if cfg!(target_os = "windows") {
15851585
Command::new("cmd").args(&["/C", "mkdir ."]).output().unwrap()
15861586
} else {
1587-
Command::new("mkdir").arg(".").output().unwrap()
1587+
Command::new("mkdir").arg("./").output().unwrap()
15881588
};
15891589

15901590
assert!(status.code() == Some(1));

0 commit comments

Comments
 (0)