PHP  
 PHP_7_1
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Skip Report for ext/standard/tests/file/bug69442.phpt

Script

<?php

$code 
= <<< 'EOC'
    <?php
    $descriptors = array(array("pty"), array("pty"), array("pty"), array("pipe", "w"));
    $pipes = array();
    $process = proc_open('echo "foo";', $descriptors, $pipes);
EOC;

    
$tmpFile tempnam(sys_get_temp_dir(), "bug69442");
    
file_put_contents($tmpFile$code);

    
exec($_SERVER['TEST_PHP_EXECUTABLE']." ".$tmpFile." 2>&1"$output);
    
$output join("\n"$output);
    
unlink($tmpFile);

    if (
strstr($output"pty pseudo terminal not supported on this system") !== false) {
        die(
"skip PTY pseudo terminals are not supported");
    }

Reason

PTY pseudo terminals are not supported

 

Generated at Fri, 01 Dec 2017 18:56:15 +0000 (14 days ago)

Copyright © 2005-2017 The PHP Group
All rights reserved.