From feba393b8ed60efe79f9f5207fde904d085949f5 Mon Sep 17 00:00:00 2001 From: Geoffrey Thomas Date: Fri, 22 May 2015 16:39:21 -0400 Subject: std::process: Remove helper function pwd_cmd from test module The test that used it was removed in 700e627cf727873a472b1876238aac10b932258b. --- src/libstd/process.rs | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/libstd/process.rs') diff --git a/src/libstd/process.rs b/src/libstd/process.rs index d70b9f09903..a8127b3200f 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -769,24 +769,6 @@ mod tests { } } - #[cfg(all(unix, not(target_os="android")))] - pub fn pwd_cmd() -> Command { - Command::new("pwd") - } - #[cfg(target_os="android")] - pub fn pwd_cmd() -> Command { - let mut cmd = Command::new("/system/bin/sh"); - cmd.arg("-c").arg("pwd"); - cmd - } - - #[cfg(windows)] - pub fn pwd_cmd() -> Command { - let mut cmd = Command::new("cmd"); - cmd.arg("/c").arg("cd"); - cmd - } - #[cfg(all(unix, not(target_os="android")))] pub fn env_cmd() -> Command { Command::new("env") -- cgit 1.4.1-3-g733a5