test failed on linux platforms with following exception:
java.io.IOException: Cannot run program "/usr/bin/true": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at java.lang.Runtime.exec(Runtime.java:615)
at java.lang.Runtime.exec(Runtime.java:448)
at java.lang.Runtime.exec(Runtime.java:345)
at Zombies.main(Zombies.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
test from b254 WS is differ than from b200 WS and works fine
[stt-robot@stt-105]$ diff /net/vice.ru.oracle.com/export/home0/regression/workspaces/170/1.7.0_04b200/j2se/test/java/lang/ProcessBuilder/Zombies.java /net/vice.ru.oracle.com/export/home0/regression/workspaces/170/1.7.0_04b254/j2se/test/java/lang/ProcessBuilder/Zombies.java
52c52
< rt.exec("/usr/bin/true", null, new File("no-such-dir"));
---
> rt.exec("/bin/true", null, new File("no-such-dir"));
56c56
< rt.exec("/usr/bin/true").waitFor();
---
> rt.exec("/bin/true").waitFor();
see comments for more details
|