diff options
| author | Geoffrey Thomas <geofft@ldpreload.com> | 2015-05-22 16:39:21 -0400 |
|---|---|---|
| committer | Geoffrey Thomas <geofft@ldpreload.com> | 2015-06-22 00:55:42 -0400 |
| commit | feba393b8ed60efe79f9f5207fde904d085949f5 (patch) | |
| tree | 669ca454b957733fb0da579633167890576e5244 /src/libstd/process.rs | |
| parent | fd874cd02e3a17b0050467559da0ed053f9dbe3a (diff) | |
| download | rust-feba393b8ed60efe79f9f5207fde904d085949f5.tar.gz rust-feba393b8ed60efe79f9f5207fde904d085949f5.zip | |
std::process: Remove helper function pwd_cmd from test module
The test that used it was removed in 700e627cf727873a472b1876238aac10b932258b.
Diffstat (limited to 'src/libstd/process.rs')
| -rw-r--r-- | src/libstd/process.rs | 18 |
1 files changed, 0 insertions, 18 deletions
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 @@ -770,24 +770,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") } |
