You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There were 2 errors:
1) Symfony\Component\Process\Tests\ProcessTest::testTTYCommand
Symfony\Component\Process\Exception\RuntimeException: TTY mode requires /dev/tty to be read/writable.
/Users/runner/work/symfony/symfony/src/Symfony/Component/Process/Process.php:1075
/Users/runner/work/symfony/symfony/src/Symfony/Component/Process/Tests/ProcessTest.php:480
2) Symfony\Component\Process\Tests\ProcessTest::testTTYCommandExitCode
Symfony\Component\Process\Exception\RuntimeException: TTY mode requires /dev/tty to be read/writable.
/Users/runner/work/symfony/symfony/src/Symfony/Component/Process/Process.php:1075
/Users/runner/work/symfony/symfony/src/Symfony/Component/Process/Tests/ProcessTest.php:495
The text was updated successfully, but these errors were encountered:
This PR was squashed before being merged into the 4.4 branch.
Discussion
----------
[Process] Dont test TTY if there is no TTY support
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | Fix#38946
| License | MIT
| Doc PR |
Commits
-------
e918e5a [Process] Dont test TTY if there is no TTY support
Symfony version(s) affected: 4.4-dev
Description
When running the Process test suite on macOS in a non-interactive shell, two tests fail with the following error message.
This is for instance the case on GitLab's CI or when running the tests with PhpStorm.
How to reproduce
Run the Process test suite in PhpStorm.
Additional context
Discovered while working on #38620.
https://github.com/symfony/symfony/pull/38620/checks?check_run_id=1338904496#step:8:1025
The text was updated successfully, but these errors were encountered: