/PHP-8.0/ext/standard/tests/image/ |
H A D | skipif_imagetype.inc | 2 if (!defined('IMAGETYPE_GIF')) die('skip images of type GIF not supported'); 3 if (!defined('IMAGETYPE_JPEG')) die('skip images of type JPEG not supported'); 4 if (!defined('IMAGETYPE_PNG')) die('skip images of type PNG not supported'); 5 if (!defined('IMAGETYPE_SWF')) die('skip images of type SWF not supported'); 6 if (!defined('IMAGETYPE_PSD')) die('skip images of type PSD not supported'); 7 if (!defined('IMAGETYPE_BMP')) die('skip images of type BMP not supported'); 8 if (!defined('IMAGETYPE_TIFF_II')) die('skip images of type TIFF not supported'); 9 if (!defined('IMAGETYPE_TIFF_MM')) die('skip images of type TIFF not supported'); 10 if (!defined('IMAGETYPE_JPC')) die('skip images of type JPC not supported'); 11 //if (!defined('IMAGETYPE_JP2')) die('skip images of type JP2 not supported'); [all …]
|
/PHP-8.0/ext/pcntl/tests/ |
H A D | pcntl_unshare_02.phpt | 5 if (!extension_loaded("pcntl")) die("skip"); 6 if (!extension_loaded("posix")) die("skip posix extension not available"); 7 if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available"); 8 if (!defined("CLONE_NEWPID")) die("skip flag unavailable"); 9 if (getenv("SKIP_ASAN")) die("skip asan chokes on this"); 13 die("skip Insufficient privileges for CLONE_NEWUSER"); 16 die("skip Insufficient privileges for CLONE_NEWPID");
|
H A D | pcntl_unshare_03.phpt | 5 if (!extension_loaded("pcntl")) die("skip"); 6 if (!extension_loaded("posix")) die("skip posix extension not available"); 7 if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available"); 8 if (!defined("CLONE_NEWNET")) die("skip flag unavailable"); 12 die("skip Insufficient privileges for CLONE_NEWUSER"); 15 die("skip Insufficient privileges for CLONE_NEWPID"); 17 if (getenv("SKIP_ONLINE_TESTS")) die("skip online test");
|
H A D | pcntl_unshare_01.phpt | 5 if (!extension_loaded("pcntl")) die("skip"); 6 if (!extension_loaded("posix")) die("skip posix extension not available"); 7 if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available"); 8 if (!defined("CLONE_NEWUSER")) die("skip flag unavailable"); 10 die("skip Insufficient privileges to use CLONE_NEWUSER");
|
H A D | pcntl_signal_dispatch.phpt | 5 if (!extension_loaded("pcntl")) print "skip"; 6 elseif (!function_exists("pcntl_signal")) print "skip pcntl_signal() not available"; 7 …elseif (!function_exists("pcntl_signal_dispatch")) print "skip pcntl_signal_dispatch() not availab… 8 elseif (!function_exists("posix_kill")) print "skip posix_kill() not available"; 9 elseif (!function_exists("posix_getpid")) print "skip posix_getpid() not available";
|
H A D | async_signals.phpt | 5 if (!extension_loaded("pcntl")) print "skip"; 6 elseif (!function_exists("pcntl_signal")) print "skip pcntl_signal() not available"; 7 elseif (!function_exists("posix_kill")) print "skip posix_kill() not available"; 8 elseif (!function_exists("posix_getpid")) print "skip posix_getpid() not available";
|
H A D | signal_closure_handler.phpt | 5 if (!extension_loaded("pcntl")) print "skip"; 6 elseif (!function_exists("pcntl_signal")) print "skip pcntl_signal() not available"; 7 elseif (!function_exists("posix_kill")) print "skip posix_kill() not available"; 8 elseif (!function_exists("posix_getpid")) print "skip posix_getpid() not available";
|
H A D | pcntl_unshare_04.phpt | 5 if (!extension_loaded("pcntl")) die("skip"); 6 if (!extension_loaded("posix")) die("skip posix extension not available"); 7 if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available"); 10 die('skip Insufficient previleges');
|
/PHP-8.0/ext/pgsql/tests/ |
H A D | skipif.inc | 2 // This script prints "skip" unless: 13 die("skip pgsql extension not loaded\n"); 17 die("skip could not connect\n"); 24 die("skip Server version {$pg} is {$op} {$version}\n"); 33 die("skip libpq or backend < 9.0\n"); 41 die("skip libpq or backend >= 9.0\n");
|
/PHP-8.0/ext/dba/tests/ |
H A D | skipif.inc | 2 if (!extension_loaded('dba')) die('skip dba extension not available'); 3 if (!function_exists('dba_handlers')) die ('skip dba_handlers() not available'); 4 if (!sizeof(dba_handlers())) die('skip no handlers installed'); 12 die('skip no handler available that can be used for the test'); 19 die("skip $HND handler not available");
|
/PHP-8.0/ext/enchant/tests/ |
H A D | dict_quick_check.phpt | 7 if(!extension_loaded('enchant')) die('skip, enchant not loader'); 8 if (getenv('SKIP_ASAN')) die('skip Known libenchant memory leak'); 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 10 if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installe… 15 die('skip, no dictionary for ' . $tag . ' tag');
|
/PHP-8.0/ext/pdo/tests/ |
H A D | bug_43130.phpt | 5 if (!extension_loaded('pdo')) die('skip'); 7 if (false == $dir) die('skip no driver'); 8 if (!strncasecmp(getenv('PDOTEST_DSN'), 'sqlite', strlen('sqlite'))) die('skip not relevant for sql… 9 if (!strncasecmp(getenv('PDOTEST_DSN'), 'pgsql', strlen('pgsql'))) die('skip not relevant for pgsql… 10 if (!strncasecmp(getenv('PDOTEST_DSN'), 'oci', strlen('oci'))) die('skip not relevant for oci drive… 11 if (!strncasecmp(getenv('PDOTEST_DSN'), 'firebird', strlen('firebird'))) die('skip not relevant for… 12 if (!strncasecmp(getenv('PDOTEST_DSN'), 'odbc', strlen('odbc'))) die('skip not relevant for odbc dr… 14 PDOTest::skip();
|
H A D | bug_71885.phpt | 5 if (!extension_loaded('pdo')) die('skip'); 7 if (false == $dir) die('skip no driver'); 8 if (!strncasecmp(getenv('PDOTEST_DSN'), 'pgsql', strlen('pgsql'))) die('skip not relevant for pgsql… 9 if (!strncasecmp(getenv('PDOTEST_DSN'), 'oci', strlen('oci'))) die('skip not relevant for OCI drive… 10 if (!strncasecmp(getenv('PDOTEST_DSN'), 'odbc', strlen('odbc'))) die('skip inconsistent error messa… 12 PDOTest::skip();
|
/PHP-8.0/ext/ftp/tests/ |
H A D | skipif.inc | 2 if (!extension_loaded('ftp')) die('skip ftp extension not loaded'); 3 if (!function_exists('pcntl_fork')) die('skip fork not available'); 4 if (!empty($ssl) && !extension_loaded('openssl')) die('skip openssl extension not loaded');
|
/PHP-8.0/ext/gmp/tests/ |
H A D | gmp_setbit_long.phpt | 4 <?php if (getenv("TRAVIS") === "true") die("skip not suitable for Travis-CI"); ?> 5 <?php if (!extension_loaded("gmp")) print "skip"; ?> 6 <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> 7 <?php if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); ?> 11 die("skip cannot determine free memory amount."); 20 die("skip not enough free RAM.");
|
/PHP-8.0/ext/readline/tests/ |
H A D | bug72538.phpt | 4 <?php if (!extension_loaded("readline")) die("skip"); 5 if (READLINE_LIB != "libedit") die("skip libedit only"); 6 if (!function_exists("readline_redisplay")) die("skip readline_redisplay not available");
|
/PHP-8.0/ext/session/tests/ |
H A D | skipif.inc | 2 // This script prints "skip" if condition does not meet. 8 die("skip Session module not loaded"); 13 die("skip Session save_path doesn't exist"); 21 die("skip session.save_path $save_path is not writable\n");
|
/PHP-8.0/ext/phar/tests/ |
H A D | phar_get_supportedcomp4.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 5 <?php if (extension_loaded("bz2")) die("skip bz2 is available"); ?> 6 <?php if (extension_loaded("zlib")) die("skip zlib is available"); ?>
|
H A D | phar_get_supportedcomp2.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 5 <?php if (!extension_loaded("bz2")) die("skip bz2 not available"); ?> 6 <?php if (extension_loaded("zlib")) die("skip zlib is available"); ?>
|
H A D | phar_get_supportedcomp3.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 5 <?php if (extension_loaded("bz2")) die("skip bz2 is available"); ?> 6 <?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
/PHP-8.0/ext/mysqli/tests/ |
H A D | mysqli_pam_sha256_public_key_ini.phpt | 13 die("skip SHA256 auth plugin not built-in to mysqlnd"); 17 die(printf("skip: [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error())); 20 die("skip: SHA-256 requires MySQL 5.6.6+"); 23 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 34 die("skip SHA-256 server plugin unavailable"); 37 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 41 die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error)); 52 die(sprintf("skip Cannot create RSA pub key file '%s'", $file)); 57 die(sprintf("skip Failed to create pub key file")); 72 die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error)); [all …]
|
H A D | mysqli_pam_sha256.phpt | 13 die("skip SHA256 auth plugin not built-in to mysqlnd"); 17 die(printf("skip: [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error())); 20 die("skip: SHA-256 requires MySQL 5.6.6+"); 23 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 34 die("skip SHA-256 server plugin unavailable"); 37 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 41 die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error)); 49 die(sprintf("skip Cannot set @@session.old_passwords=2 [%d] %s", $link->errno, $link->error)); 58 die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error)); 63 die(sprintf("skip SET PASSWORD failed [%d] %s", $link->errno, $link->error)); [all …]
|
H A D | mysqli_pam_sha256_public_key_option.phpt | 13 die("skip SHA256 auth plugin not built-in to mysqlnd"); 17 die(printf("skip: [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error())); 20 die("skip: SHA-256 requires MySQL 5.6.6+"); 23 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 34 die("skip SHA-256 server plugin unavailable"); 37 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 41 die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error)); 51 die(sprintf("skip Cannot create RSA pub key file '%s'", $file)); 54 die(sprintf("skip Failed to create pub key file")); 68 die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error)); [all …]
|
/PHP-8.0/ext/gd/tests/ |
H A D | bug66590.phpt | 5 if (!extension_loaded('gd')) die('skip gd extension not available'); 7 die("skip test requires GD 2.2.0 or higher"); 9 if (!function_exists('imagewebp')) die('skip WebP support not available'); 19 fread($stream, 4); // skip "RIFF"
|
/PHP-8.0/ext/ffi/tests/ |
H A D | 300.phpt | 5 <?php if (!extension_loaded('Zend OPcache')) die('skip Zend OPcache extension not available'); ?> 6 <?php if (substr(PHP_OS, 0, 3) == 'WIN') die('skip not for Windows'); ?> 7 <?php if (!extension_loaded('posix')) die('skip POSIX extension not loaded'); ?> 8 <?php if (posix_geteuid() == 0) die('skip Cannot run test as root.'); ?>
|