Skip to content

Commit

Permalink
[Process] Skip signal assertion on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Apr 8, 2012
1 parent 4cd0fb4 commit 6dca141
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Symfony/Component/Process/Tests/ProcessTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ public function testStop()
$this->assertTrue($process->isRunning());
$process->stop();
$this->assertFalse($process->isRunning());
$this->assertTrue($process->hasBeenSignaled());

// skip this check on windows since it does not support signals
if (!defined('PHP_WINDOWS_VERSION_MAJOR')) {
$this->assertTrue($process->hasBeenSignaled());
}
}

public function responsesCodeProvider()
Expand Down

0 comments on commit 6dca141

Please sign in to comment.