Skip to content

Commit 03945c7

Browse files
committed
minor symfony#23309 Identify tty tests in Component/Process (pmmaga)
This PR was merged into the 2.7 branch. Discussion ---------- Identify tty tests in Component/Process | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 65d89ec Identify tty tests in Component/Process
2 parents c1e8183 + 65d89ec commit 03945c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Symfony/Component/Process/Tests/ProcessTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,9 @@ public function testExitCodeCommandFailed()
439439
$this->assertGreaterThan(0, $process->getExitCode());
440440
}
441441

442+
/**
443+
* @group tty
444+
*/
442445
public function testTTYCommand()
443446
{
444447
if ('\\' === DIRECTORY_SEPARATOR) {
@@ -454,6 +457,9 @@ public function testTTYCommand()
454457
$this->assertSame(Process::STATUS_TERMINATED, $process->getStatus());
455458
}
456459

460+
/**
461+
* @group tty
462+
*/
457463
public function testTTYCommandExitCode()
458464
{
459465
if ('\\' === DIRECTORY_SEPARATOR) {

0 commit comments

Comments
 (0)