From dc71cab4df0182953bf77062331a5f4c6addb286 Mon Sep 17 00:00:00 2001 From: Marco A L Barbosa Date: Fri, 22 Dec 2017 08:11:34 -0200 Subject: [PATCH] Fix process test when using busybox mkdir busybox mkdir . returns 0 busybox mkdir ./ returns 1 --- src/libstd/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/process.rs b/src/libstd/process.rs index 2335695ae42d4..c75a42442b241 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -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));