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

index 9270ea12d6e574019d08bef20941186b3c197a41..9bc8564a619a104288de69acd42693715d9ac981 100755 (executable)
@@ -134,7 +134,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);
@@ -400,7 +400,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") {