<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="There was 1 failure:

1) Symfony\Component\Process\Tests\SigchildEnabledProcessTest::testPTYCommand
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
 'foo
+sh: 1: 3: Bad file descriptor
 '"><pre class="notranslate"><code class="notranslate">There was 1 failure:

1) Symfony\Component\Process\Tests\SigchildEnabledProcessTest::testPTYCommand
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
 'foo
+sh: 1: 3: Bad file descriptor
 '
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION=&quot;Ubuntu 14.04.2 LTS&quot;"><pre class="notranslate"><code class="notranslate">cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="uname -a
Linux ewgra-Inspiron-5720 3.13.0-58-generic #97-Ubuntu SMP Wed Jul 8 02:56:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux"><pre class="notranslate"><code class="notranslate">uname -a
Linux ewgra-Inspiron-5720 3.13.0-58-generic #97-Ubuntu SMP Wed Jul 8 02:56:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
</code></pre></div>
<p dir="auto">At Process::start proc_open have arguments:<br>
<math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="78ebb93504e9b939259dc1d24a58af1e">$commandLine : string(61) "(echo "foo") 3&amp;gt;/dev/null; code=$</math-renderer>?; echo $code &gt;&amp;3; exit $code"</p>
<p dir="auto">$descriptors =<br>
array(4) {<br>
[0]=&gt;<br>
array(1) {<br>
[0]=&gt;<br>
string(3) "pty"<br>
}<br>
[1]=&gt;<br>
array(1) {<br>
[0]=&gt;<br>
string(3) "pty"<br>
}<br>
[2]=&gt;<br>
array(1) {<br>
[0]=&gt;<br>
string(3) "pty"<br>
}<br>
[3]=&gt;<br>
array(2) {<br>
[0]=&gt;<br>
string(4) "pipe"<br>
[1]=&gt;<br>
string(1) "w"<br>
}<br>
}</p>
<p dir="auto">$this-&gt;processPipes-&gt;pipes = array(0) {}</p>
<p dir="auto">Running</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="phpunit src/Symfony/Component/Process"><pre class="notranslate"><code class="notranslate">phpunit src/Symfony/Component/Process
</code></pre></div>
<p dir="auto">I got the error</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="There was 1 failure:

1) Symfony\Component\Process\Tests\SigchildEnabledProcessTest::testPTYCommand
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
 'foo
+sh: 1: 3: Bad file descriptor
 '

/home/arnau/code/symfony/src/Symfony/Component/Process/Tests/AbstractProcessTest.php:433"><pre class="notranslate"><code class="notranslate">There was 1 failure:

1) Symfony\Component\Process\Tests\SigchildEnabledProcessTest::testPTYCommand
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
 'foo
+sh: 1: 3: Bad file descriptor
 '

/home/arnau/code/symfony/src/Symfony/Component/Process/Tests/AbstractProcessTest.php:433
</code></pre></div>
<p dir="auto">Symfony branch: 2.7<br>
OS: Ubuntu 14.04.1 LTS<br>
PHP: 5.5.9-1ubuntu4.5<br>
PHPUnit: 3.7.20</p>