Add some missing EXTENSIONS sections to misc tests

This commit is contained in:
Nikita Popov 2021-06-14 14:52:44 +02:00
parent e378968c4f
commit 6600ad6067
45 changed files with 90 additions and 2 deletions

View File

@ -1,5 +1,7 @@
--TEST--
Bug #79741: curl_setopt CURLOPT_POSTFIELDS asserts on object with declared properties
--EXTENSIONS--
curl
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Bug #80121: Null pointer deref if CurlHandle directly instantiated
--EXTENSIONS--
curl
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Casting CurlHandle to int returns object ID
--EXTENSIONS--
curl
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Basic curl_share test
--EXTENSIONS--
curl
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Check for exif_read_data, Unicode WinXP tags
--EXTENSIONS--
exif
--SKIPIF--
<?php
if (!defined("EXIF_USE_MBSTRING") || !EXIF_USE_MBSTRING) die ('skip mbstring loaded by dl');

View File

@ -1,5 +1,7 @@
--TEST--
Simple GET test
--EXTENSIONS--
filter
--GET--
a=1
--FILE--

View File

@ -1,5 +1,7 @@
--TEST--
GET test with 2 values and an empty one
--EXTENSIONS--
filter
--GET--
a=1&b=&c=3
--FILE--

View File

@ -1,5 +1,7 @@
--TEST--
GET/POST/REQUEST Test
--EXTENSIONS--
filter
--POST--
d=4&e=5
--GET--

View File

@ -1,7 +1,7 @@
--TEST--
Bug #77423 (parse_url() will deliver a wrong host to user)
--SKIPIF--
<?php if (!function_exists('filter_var')) { echo "skip requires filter\n"; } ?>
--EXTENSIONS--
filter
--FILE--
<?php
$urls = array(

View File

@ -1,5 +1,7 @@
--TEST--
Bug #78804: Segmentation fault in Locale::filterMatches
--EXTENSIONS--
intl
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Bug #81019: Unable to clone NumberFormatter after failed parse()
--EXTENSIONS--
intl
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
grapheme_* functions with out-of-bounds offsets
--EXTENSIONS--
intl
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Bug #52681 (mb_send_mail() appends an extra MIME-Version header)
--EXTENSIONS--
mbstring
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {

View File

@ -1,5 +1,7 @@
--TEST--
Bug #79037: global buffer-overflow in `mbfl_filt_conv_big5_wchar`
--EXTENSIONS--
mbstring
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
mb_convert_encoding() when encoding detection fails
--EXTENSIONS--
mbstring
--INI--
mbstring.strict_detection=1
--FILE--

View File

@ -1,5 +1,7 @@
--TEST--
mb_ereg() and invalid arguments
--EXTENSIONS--
mbstring
--SKIPIF--
<?php if (!function_exists("mb_ereg")) print "skip"; ?>
--FILE--

View File

@ -1,5 +1,7 @@
--TEST--
mb_ereg_search() with invalid pattern should discard old matches
--EXTENSIONS--
mbstring
--SKIPIF--
<?php if (!function_exists("mb_ereg")) print "skip requires mbregex"; ?>
--FILE--

View File

@ -1,5 +1,7 @@
--TEST--
mb_send_mail() test 1 (lang=neutral)
--EXTENSIONS--
mbstring
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {

View File

@ -1,5 +1,7 @@
--TEST--
mb_send_mail() test 2 (lang=Japanese)
--EXTENSIONS--
mbstring
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {

View File

@ -1,5 +1,7 @@
--TEST--
mb_send_mail() test 3 (lang=English)
--EXTENSIONS--
mbstring
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {

View File

@ -1,5 +1,7 @@
--TEST--
mb_send_mail() test 4 (lang=German)
--EXTENSIONS--
mbstring
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {

View File

@ -1,5 +1,7 @@
--TEST--
mb_send_mail() test 5 (lang=Simplified Chinese)
--EXTENSIONS--
mbstring
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {

View File

@ -1,5 +1,7 @@
--TEST--
mb_send_mail() test 6 (lang=Traditional Chinese)
--EXTENSIONS--
mbstring
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {

View File

@ -1,5 +1,7 @@
--TEST--
mb_send_mail() test 7 (lang=Korean)
--EXTENSIONS--
mbstring
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {

View File

@ -1,5 +1,7 @@
--TEST--
mb_send_mail() with null bytes in arguments
--EXTENSIONS--
mbstring
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Offset errors for various strpos functions
--EXTENSIONS--
mbstring
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Bug #79881: Memory leak in openssl_pkey_get_public()
--EXTENSIONS--
openssl
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Check for default OpenSSL config path on Windows
--EXTENSIONS--
openssl
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) != 'WIN') {

View File

@ -1,5 +1,7 @@
--TEST--
pcntl_alarm()
--EXTENSIONS--
pcntl
--SKIPIF--
<?php if (!function_exists("pcntl_sigtimedwait")) die("skip pcntl_sigtimedwait() not available"); ?>
--INI--

View File

@ -1,5 +1,7 @@
--TEST--
Using pg function with default link while no link open
--EXTENSIONS--
pgsql
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Bug #79031: Session unserialization problem
--EXTENSIONS--
session
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Null Pointer Dereference in PHP Session Upload Progress
--EXTENSIONS--
session
--INI--
error_reporting=0
file_uploads=1

View File

@ -1,5 +1,7 @@
--TEST--
Bug #80723: Different sockets compare as equal (regression in 8.0)
--EXTENSIONS--
sockets
--FILE--
<?php
$socket_1 = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);

View File

@ -1,5 +1,7 @@
--TEST--
socket_accept() failure
--EXTENSIONS--
sockets
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Error during socket_sendmsg() or socket_recvmsg()
--EXTENSIONS--
sockets
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Test interoperability of password_hash('argon2i')
--EXTENSIONS--
sodium
--SKIPIF--
<?php
if (!function_exists('sodium_crypto_pwhash_str_verify')) {

View File

@ -1,5 +1,7 @@
--TEST--
Test interoperability of password_hash('argon2id')
--EXTENSIONS--
sodium
--SKIPIF--
<?php
if (!function_exists('sodium_crypto_pwhash_str_verify')) {

View File

@ -1,5 +1,7 @@
--TEST--
Test interoperability of password_verify()
--EXTENSIONS--
sodium
--SKIPIF--
<?php
if (!function_exists('sodium_crypto_pwhash_str')) {

View File

@ -1,5 +1,7 @@
--TEST--
PhpToken implements __toString()
--EXTENSIONS--
tokenizer
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Attributes are exposed as tokens.
--EXTENSIONS--
tokenizer
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Handling of "namespace as" in TOKEN_PARSE mode
--EXTENSIONS--
tokenizer
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Bug #80462: Nullsafe operator tokenize with TOKEN_PARSE flag fails
--EXTENSIONS--
tokenizer
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Tokenization of namespaced names
--EXTENSIONS--
tokenizer
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
Calling XSLTProcessor::transformToDoc() without stylesheet
--EXTENSIONS--
xsl
--FILE--
<?php

View File

@ -1,5 +1,7 @@
--TEST--
compress.zlib:// wrapper with compression level
--EXTENSIONS--
zlib
--SKIPIF--
<?php in_array('compress.zlib', stream_get_wrappers()) || print 'skip No zlib wrapper';
--FILE--