< prev index next >
test/jdk/java/lang/RuntimeTests/exec/ExitValue.java
Print this page
rev 59105 : imported patch corelibs
*** 94,104 ****
checkPosixShellExitValue("exit", 0);
checkPosixShellExitValue("exit 7", 7);
! int sigoffset = UnixCommands.isSunOS ? 0 : 128;
checkPosixShellExitValue(UnixCommands.kill() + " -9 $$", sigoffset+9);
}
public static class Run {
public static void main (String[] argv) {
--- 94,104 ----
checkPosixShellExitValue("exit", 0);
checkPosixShellExitValue("exit 7", 7);
! int sigoffset = 128;
checkPosixShellExitValue(UnixCommands.kill() + " -9 $$", sigoffset+9);
}
public static class Run {
public static void main (String[] argv) {
< prev index next >