]> granicus.if.org Git - php/commitdiff
Add missing skip prefix for some SKIPIF messages
authoratvoicu <avoicu@google.com>
Wed, 21 Mar 2018 21:45:14 +0000 (14:45 -0700)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 23 Mar 2018 17:56:36 +0000 (18:56 +0100)
Zend/tests/bug43450.phpt
ext/ftp/tests/ftp_nb_get_large.phpt
ext/mysqli/tests/014.phpt
ext/mysqli/tests/bug69899.phpt
ext/snmp/tests/snmp_read_mib.phpt
ext/sockets/tests/bug63000.phpt
ext/standard/tests/file/bug60120.phpt
ext/standard/tests/file/windows_links/bug48746.phpt
ext/standard/tests/file/windows_links/bug48746_1.phpt
ext/standard/tests/filters/chunked_001.phpt
ext/standard/tests/strings/bug72434.phpt

index f0cd4f75bcafe01b95b23e7063a696c7e136d1b8..9f6c5f8504bbb57825aa829357139f31d52e4ffe 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Bug #43450 (Memory leak on some functions with implicit object __toString() call)
 --SKIPIF--
-<?php if (!function_exists('memory_get_usage')) die('memory_get_usage() not installed'); ?>
+<?php if (!function_exists('memory_get_usage')) die('skip memory_get_usage() not installed'); ?>
 --INI--
 opcache.enable_cli=0
 --FILE--
index 0c354d7c1978f41c683c7a33a79f7e0ad8aea66e..4ac5fa37f13d90a11590ba0a068b385d0ef81649 100644 (file)
@@ -7,7 +7,7 @@ if (2147483647 == PHP_INT_MAX) {
     die('skip ot supported on this system');
 }
 if (disk_free_space(__DIR__) < 10*1024*1024*1024) {
-    die('not enough disk space');
+    die('skip Not enough disk space');
 }
 ?>
 --FILE--
index 30044dc4fbf654459dc130a1765fea38ac425f88..59425ac9d046fc3a14eeb258d060bac18a8a3280 100644 (file)
@@ -8,10 +8,10 @@ mysqli autocommit/commit/rollback
 
        $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
        if (!$link)
-               die(sprintf("Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+               die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
        if (!have_innodb($link))
-               die(sprintf("Needs InnoDB support, [%d] %s", $link->errno, $link->error));
+               die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
 ?>
 --FILE--
 <?php
@@ -94,4 +94,4 @@ array(2) {
   [1]=>
   string(4) "egon"
 }
-done!
\ No newline at end of file
+done!
index 177b5e3dcefc034185ad6489ba3710284cd29149..6859b91c1317508997dc6691fcda8234182b357b 100644 (file)
@@ -12,7 +12,7 @@ require_once __DIR__ . '/skipif.inc';
 require_once __DIR__ . '/skipifconnectfailure.inc';
 require_once __DIR__ . '/connect.inc';
 if (!$IS_MYSQLND) {
-       die('mysqlnd only');
+       die('skip mysqlnd only');
 }
 ?>
 --FILE--
index b26ba5e52abd063ae057b9552ebc0148cf1e0dd6..9a6d3b5e5bc5febfcc40f98d388d38dedaa4a572 100644 (file)
@@ -7,7 +7,7 @@ Olivier Doucet Olivier Doucet Boris Lytochkin
 require_once(dirname(__FILE__).'/skipif.inc');
 require_once(dirname(__FILE__).'/snmp_include.inc');
 
-if (!file_exists($mibdir . '/SNMPv2-MIB.txt')) die('MIB file not in the system');
+if (!file_exists($mibdir . '/SNMPv2-MIB.txt')) die('skip MIB file not in the system');
 
 ?>
 --FILE--
index c806ba4c08787ffd7c1deb35c6f975430cc811ff..fb0f6b2d3a1aef683bd0e622acbdbdd6e7f5a95f 100644 (file)
@@ -6,7 +6,7 @@ if (!extension_loaded('sockets')) {
     die('skip sockets extension not available.');
 }
 if (PHP_OS !== 'Darwin') {
-    die('is not OSX.');
+    die('skip Is not OSX.');
 }
 --FILE--
 <?php
index 92172b911268399f5af4b98f7c005b774f3f795b..ec5f7b3cedb17cb94d6ae4bf90bb5233bd0895be 100644 (file)
@@ -7,7 +7,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
 }
 $php = getenv('TEST_PHP_EXECUTABLE');
 if (!$php) {
-       die("No php executable defined\n");
+       die("skip No php executable defined\n");
 }
 ?>
 --FILE--
index 671c347a61dad2cd2e2dc4023882c8e2d2b996f5..6e3431943f4baea284a4a383b424a21bb4370422 100644 (file)
@@ -13,7 +13,7 @@ include_once __DIR__ . '/common.inc';
 $cmd = "mklink /?";
 $ret = @exec($cmd, $output, $return_val);
 if (count($output) == 0) {
-    die("mklink.exe not found in PATH");
+    die("skip mklink.exe not found in PATH");
 }
 ?>
 --FILE--
index 56764bcf5fe09db2bd4641661a091ae8842f2125..dfd1b98f1580a927c55eb74f4a9b111f8b4eaea5 100644 (file)
@@ -13,7 +13,7 @@ include_once __DIR__ . '/common.inc';
 $cmd = "mklink /?";
 $ret = @exec($cmd, $output, $return_val);
 if (count($output) == 0) {
-    die("mklink.exe not found in PATH");
+    die("skip mklink.exe not found in PATH");
 }
 ?>
 --FILE--
index 0e0f645cbaa864740f26f894afc149f9614c3ad3..c90dd403ecf76331d371403785d0de280de2e88c 100644 (file)
@@ -3,7 +3,7 @@ Chunked encoding
 --SKIPIF--
 <?php
 $filters = stream_get_filters();
-if(! in_array( "dechunk", $filters )) die( "chunked filter not available." );
+if(! in_array( "dechunk", $filters )) die( "skip Chunked filter not available." );
 ?>
 --INI--
 allow_url_fopen=1
index fa31c8bf03be0131d4d1f6abcf228eda10fdb5e8..447ad4609c6cd2fa893a1714b1edb3ac757adc48 100644 (file)
@@ -2,7 +2,7 @@
 Bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize
 --SKIPIF--
 <?php
-if(!class_exists('zip')) die('ZipArchive');
+if(!class_exists('zip')) die('skip ZipArchive');
 ?>
 --FILE--
 <?php