Searched refs:commands (Results 1 – 5 of 5) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ProcessManagerTest.java | 36 String[] commands = { "cat" }; in testCat() local 37 Process process = Runtime.getRuntime().exec(commands, null, null); in testCat() 50 String[] commands = { "sleep", "1" }; in testSleep() local 51 process = Runtime.getRuntime().exec(commands, null, null); in testSleep() 62 String[] commands = { "sleep", "1000"}; in testSleep() 64 process = Runtime.getRuntime().exec(commands, null, null); in testSleep() 115 String[] commands = { "sh", "-c", "pwd" }; in testPwd() local 117 commands, null, new File("/")); in testPwd() 123 String[] commands = { "sh", "-c", "echo $FOO" }; in testEnvironment() local 128 commands, environment, null); in testEnvironment() [all …]
|
D | ProcessTest.java | 56 String[] commands = { "cat", "-"}; in test_getOutputStream() local 57 Process p = Runtime.getRuntime().exec(commands, null, null); in test_getOutputStream() 84 String[] commands = { "cat", "--no-such-option"}; in test_getErrorStream() local 85 Process p = Runtime.getRuntime().exec(commands, null, null); in test_getErrorStream() 113 String[] commands = { "sh", "-c", "exit 0" }; in test_exitValue() local 114 Process process = Runtime.getRuntime().exec(commands, null, null); in test_exitValue() 142 String[] commands = { "sh", "-c", "exit 0"}; in test_destroy() local 143 Process process = Runtime.getRuntime().exec(commands, null, null); in test_destroy() 150 String[] commands = { "sh", "-c", "sleep 3000"}; in test_destroyForcibly() local 151 Process process = Runtime.getRuntime().exec(commands, null, null); in test_destroyForcibly() [all …]
|
D | Process2Test.java | 41 String[] commands = {"sh", "-c", "echo"}; in test_getErrorStream() local 44 process = Runtime.getRuntime().exec(commands, null, null); in test_getErrorStream()
|
/libcore/ |
D | LICENSE | 99 c) If the modified program normally reads commands interactively when run, 303 The hypothetical commands 'show w' and 'show c' should show the appropriate 304 parts of the General Public License. Of course, the commands you use may be
|
/libcore/ojluni/ |
D | NOTICE | 385 c) If the modified program normally reads commands interactively when run, 589 The hypothetical commands 'show w' and 'show c' should show the appropriate 590 parts of the General Public License. Of course, the commands you use may be
|