Identify tty tests in Component/Process

This commit is contained in:
Pedro Magalhães 2017-06-27 18:14:10 +02:00 committed by GitHub
parent 7acc34537b
commit 65d89ec224

View File

@ -439,6 +439,9 @@ class ProcessTest extends TestCase
$this->assertGreaterThan(0, $process->getExitCode()); $this->assertGreaterThan(0, $process->getExitCode());
} }
/**
* @group tty
*/
public function testTTYCommand() public function testTTYCommand()
{ {
if ('\\' === DIRECTORY_SEPARATOR) { if ('\\' === DIRECTORY_SEPARATOR) {
@ -454,6 +457,9 @@ class ProcessTest extends TestCase
$this->assertSame(Process::STATUS_TERMINATED, $process->getStatus()); $this->assertSame(Process::STATUS_TERMINATED, $process->getStatus());
} }
/**
* @group tty
*/
public function testTTYCommandExitCode() public function testTTYCommandExitCode()
{ {
if ('\\' === DIRECTORY_SEPARATOR) { if ('\\' === DIRECTORY_SEPARATOR) {