mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-105472 (test added)
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user