IDEA-105472 (test added)

This commit is contained in:
Roman Shevchenko
2013-04-22 19:09:04 +02:00
parent d3227513ff
commit 34856e371a
@@ -151,6 +151,15 @@ public class GeneralCommandLineTest {
}
}
@Test
public void winShellCommand() throws Exception {
assumeTrue(SystemInfo.isWindows);
String string = "http://localhost/wtf?a=b&c=d";
String echo = ExecUtil.execAndReadLine(ExecUtil.getWindowsShellName(), "/c", "echo", string);
assertEquals('"' + string + '"', echo);
}
@Test
public void environmentPassing() throws Exception {
Map<String, String> testEnv = new HashMap<String, String>();