]> granicus.if.org Git - php/commitdiff
Add php_uname() to output
authorMarcus Boerger <helly@php.net>
Fri, 30 May 2003 12:41:51 +0000 (12:41 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 30 May 2003 12:41:51 +0000 (12:41 +0000)
run-tests.php

index 46191527b7efdbf0e32bee5e8f03f798c70df7b3..bc2193ad3d7fc8fc8280c2fad81a77177a73b2ce 100755 (executable)
@@ -152,7 +152,7 @@ $php_info = '<?php echo "
 PHP_SAPI    : " . PHP_SAPI . "
 PHP_VERSION : " . phpversion() . "
 ZEND_VERSION: " . zend_version() . "
-PHP_OS      : " . PHP_OS . "
+PHP_OS      : " . PHP_OS . " - " . php_uname() . "
 INI actual  : " . realpath(get_cfg_var("cfg_file_path")) . "
 More .INIs  : " . (function_exists(\'php_ini_scanned_files\') ? str_replace("\n","", php_ini_scanned_files()) : "** not determined **"); ?>';
 save_text($info_file, $php_info);
@@ -448,7 +448,7 @@ if (!getenv('NO_INTERACTION')) {
                }
                
                $failed_tests_data .= "\n" . $sep . 'BUILD ENVIRONMENT' . $sep;
-               $failed_tests_data .= "OS:\n". PHP_OS. "\n\n";
+               $failed_tests_data .= "OS:\n" . PHP_OS . " - " . php_uname() . "\n\n";
                $ldd = $automake = $autoconf = $libtool = $compiler = 'N/A';
 
                if (substr(PHP_OS, 0, 3) != "WIN") {