Skip to content

Commit

Permalink
std::process: Remove helper function pwd_cmd from test module
Browse files Browse the repository at this point in the history
The test that used it was removed in 700e627.
  • Loading branch information
geofft committed Jun 22, 2015
1 parent fd874cd commit feba393
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/libstd/process.rs
Expand Up @@ -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")
Expand Down

0 comments on commit feba393

Please sign in to comment.