$this->
assertFalse($process->
hasBeenSignaled());
} public function testProcessWithoutTermSignal() { if ('\\' === \DIRECTORY_SEPARATOR
) { $this->
markTestSkipped('Windows does not support POSIX signals'
);
} $process =
$this->
getProcess('echo foo'
);
$process->
run();
$this->
assertEquals(0,
$process->
getTermSignal());
} public function testProcessIsSignaledIfStopped() { if ('\\' === \DIRECTORY_SEPARATOR
) { $this->
markTestSkipped('Windows does not support POSIX signals'
);
} $process =
$this->
getProcessForCode('sleep(32);'
);
$process->
start();
$process->
stop();