File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1582,7 +1582,7 @@ public function testFailingProcessWithMultipleCallsToProcGetStatus()
1582
1582
*/
1583
1583
public function testLongRunningProcessWithMultipleCallsToProcGetStatus ()
1584
1584
{
1585
- $ process = $ this ->getProcess ('php -r "sleep(1); echo \' done \' ;" ' );
1585
+ $ process = $ this ->getProcess ('sleep 1 && echo "done" && php -r "exit(0) ;" ' );
1586
1586
$ process ->start (static function () use ($ process ) {
1587
1587
return $ process ->isRunning ();
1588
1588
});
@@ -1597,7 +1597,7 @@ public function testLongRunningProcessWithMultipleCallsToProcGetStatus()
1597
1597
*/
1598
1598
public function testLongRunningProcessWithMultipleCallsToProcGetStatusError ()
1599
1599
{
1600
- $ process = $ this ->getProcess ('php -r " sleep(1); echo \' failure \' ; exit(123);" ' );
1600
+ $ process = $ this ->getProcess ('sleep 1 && echo " failure" && php -r " exit(123);" ' );
1601
1601
$ process ->start (static function () use ($ process ) {
1602
1602
return $ process ->isRunning ();
1603
1603
});
You can’t perform that action at this time.
0 commit comments