Add missing skip prefix for some SKIPIF messages

This commit is contained in:
atvoicu 2018-03-21 14:45:14 -07:00 committed by Nikita Popov
parent 7b8861204e
commit 17ed2f21cf
11 changed files with 13 additions and 13 deletions

View 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--

View 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--

View 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!
done!

View 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--

View 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--

View 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

View 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--

View 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--

View 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--

View 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

View 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