Skip to content

SKIPIF -> EXTENSIONS #7140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ext/curl/tests/bug27023.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Bug #27023 (CURLOPT_POSTFIELDS does not parse content types for files)
--INI--
error_reporting = E_ALL & ~E_DEPRECATED
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php

Expand Down
6 changes: 2 additions & 4 deletions ext/curl/tests/bug45161.phpt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
--TEST--
Bug #45161 (Reusing a curl handle leaks memory)
--SKIPIF--
<?php
include 'skipif.inc';
?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
6 changes: 2 additions & 4 deletions ext/curl/tests/bug46739.phpt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
--TEST--
Bug #46739 (array returned by curl_getinfo should contain content_type key)
--SKIPIF--
<?php
include 'skipif.inc';
?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/bug48203.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
Bug #48203 (Crash when CURLOPT_STDERR is set to regular file)
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
6 changes: 2 additions & 4 deletions ext/curl/tests/bug48203_multi.phpt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
--TEST--
Variation of bug #48203 with curl_multi_exec (Crash when file pointers passed to curl are closed before calling curl_multi_exec)
--SKIPIF--
<?php
include 'skipif.inc';
?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/bug48207.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Test curl_setopt() CURLOPT_FILE readonly file handle
--CREDITS--
Mark van der Velden
#testfest Utrecht 2009
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
/*
Expand Down
3 changes: 2 additions & 1 deletion ext/curl/tests/bug54798-unix.phpt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
--TEST--
Bug #54798 (Segfault when CURLOPT_STDERR file pointer is closed before calling curl_exec)
--EXTENSIONS--
curl
--SKIPIF--
<?php
include 'skipif.inc';
if(substr(PHP_OS, 0, 3) == 'WIN' ) {
die('skip not for Windows');
}
Expand Down
6 changes: 2 additions & 4 deletions ext/curl/tests/bug54798.phpt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
--TEST--
Bug #54798 (Segfault when CURLOPT_STDERR file pointer is closed before calling curl_exec)
--SKIPIF--
<?php
include 'skipif.inc';
?>
--EXTENSIONS--
curl
--FILE--
<?php

Expand Down
6 changes: 2 additions & 4 deletions ext/curl/tests/bug55767.phpt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
--TEST--
Test curl_opt() function with POST params from array with a numeric key
--SKIPIF--
<?php
include 'skipif.inc';
?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/bug66109.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
Bug #66109 (Option CURLOPT_CUSTOMREQUEST can't be reset to default.)
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
7 changes: 2 additions & 5 deletions ext/curl/tests/bug68089.phpt
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
--TEST--
Bug #68089 (NULL byte injection - cURL lib)
--SKIPIF--
<?php
include 'skipif.inc';

?>
--EXTENSIONS--
curl
--FILE--
<?php
$url = "file:///etc/passwd\0http://google.com";
Expand Down
6 changes: 2 additions & 4 deletions ext/curl/tests/bug68937.phpt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
--TEST--
Bug # #68937 (Segfault in curl_multi_exec)
--SKIPIF--
<?php
include 'skipif.inc';
?>
--EXTENSIONS--
curl
--FILE--
<?php

Expand Down
6 changes: 2 additions & 4 deletions ext/curl/tests/bug68937_2.phpt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
--TEST--
Bug # #68937 (Segfault in curl_multi_exec)
--SKIPIF--
<?php
include 'skipif.inc';
?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/bug69316.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
Bug #69316: Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
function hdr_callback($ch, $data) {
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/bug69485.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
Bug #69485 (Double free on zend_list_dtor)
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/bug70330.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
Bug #70330 (Segmentation Fault with multiple "curl_copy_handle")
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
$t2 = curl_init();
Expand Down
3 changes: 2 additions & 1 deletion ext/curl/tests/bug71144.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
--TEST--
Bug #71144 (Sementation fault when using cURL with ZTS)
--EXTENSIONS--
curl
--SKIPIF--
<?php include 'skipif.inc'; ?>
<?php if (!PHP_ZTS) { print "skip only for zts build"; } ?>
--FILE--
<?php
Expand Down
6 changes: 2 additions & 4 deletions ext/curl/tests/bug72189.phpt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
--TEST--
Request #72189 (Add missing CURL_VERSION_* constants)
--SKIPIF--
<?php
include 'skipif.inc';
?>
--EXTENSIONS--
curl
--FILE--
<?php

Expand Down
3 changes: 2 additions & 1 deletion ext/curl/tests/bug76675.phpt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
--TEST--
Bug #76675 (Segfault with H2 server push write/writeheader handlers)
--EXTENSIONS--
curl
--SKIPIF--
<?php
include 'skipif.inc';
if (getenv("SKIP_ONLINE_TESTS")) {
die("skip online test");
}
Expand Down
3 changes: 2 additions & 1 deletion ext/curl/tests/bug77535.phpt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
--TEST--
Bug #77535 (Invalid callback, h2 server push)
--EXTENSIONS--
curl
--SKIPIF--
<?php
include 'skipif.inc';
if (getenv("SKIP_ONLINE_TESTS")) {
die("skip online test");
}
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/bug77711.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
FR #77711 (CURLFile should support UNICODE filenames)
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/bug79033.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
Bug #79033 (Curl timeout error with specific url and post)
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/bug80595.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
Bug #80595 (Resetting POSTFIELDS to empty array breaks request)
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/curl_CURLOPT_READDATA.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Test CURLOPT_READDATA without a callback function
--CREDITS--
Mattijs Hoitink mattijshoitink@gmail.com
#Testfest Utrecht 2009
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/curl_basic_001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Test curl_exec() function with basic functionality
--CREDITS--
Sebastian Deutsch <sebastian.deutsch@9elements.com>
TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net>
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/curl_basic_002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Test curl_opt() function with CURLOPT_RETURNTRANSFER parameter set to 1
--CREDITS--
Sebastian Deutsch <sebastian.deutsch@9elements.com>
TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net>
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/curl_basic_003.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Test curl_opt() function with POST parameters
--CREDITS--
Sebastian Deutsch <sebastian.deutsch@9elements.com>
TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net>
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/curl_basic_004.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Test curl_opt() function with setting referer
--CREDITS--
Sebastian Deutsch <sebastian.deutsch@9elements.com>
TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net>
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/curl_basic_005.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Test curl_opt() function with user agent
--CREDITS--
Sebastian Deutsch <sebastian.deutsch@9elements.com>
TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net>
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/curl_basic_006.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Test curl_opt() function with CURLOPT_WRITEFUNCTION parameter set to a closure
--CREDITS--
?
TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net>
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/curl_basic_011.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Test curl_opt() function with COOKIE
--CREDITS--
TestFest 2009 - AFUP - Xavier Gorse <xgorse@elao.com>
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/curl_basic_012.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Test curl_opt() function with CURLOPT_HTTP_VERSION/CURL_HTTP_VERSION_1_0
--CREDITS--
TestFest 2009 - AFUP - Xavier Gorse <xgorse@elao.com>
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/curl_basic_013.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Test curl_opt() function with CURLOPT_HTTP_VERSION/CURL_HTTP_VERSION_1_1
--CREDITS--
TestFest 2009 - AFUP - Xavier Gorse <xgorse@elao.com>
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/curl_basic_018.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Test curl_setopt() with curl_multi function with basic functionality
--CREDITS--
TestFest 2009 - AFUP - Thomas Rabaix <thomas.rabaix@gmail.com>
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/curl_basic_019.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Test curl_getinfo() function with CURLINFO_EFFECTIVE_URL parameter
--CREDITS--
Jean-Marc Fontaine <jmf@durcommefaire.net>
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
4 changes: 2 additions & 2 deletions ext/curl/tests/curl_basic_020.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Test curl_getinfo() function with CURLINFO_HTTP_CODE parameter
--CREDITS--
Jean-Marc Fontaine <jmf@durcommefaire.net>
--SKIPIF--
<?php include 'skipif.inc'; ?>
--EXTENSIONS--
curl
--FILE--
<?php
include 'server.inc';
Expand Down
Loading