Skip to content

Commit e9f783f

Browse files
MaxSemnikic
authored andcommitted
Migrate skip checks to --EXTENSIONS--, p3
For rationale, see #6787 Extensions migrated in part 3: * ftp * gmp * iconv * opcache * shmop
1 parent 33f938b commit e9f783f

File tree

566 files changed

+1177
-1181
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

566 files changed

+1177
-1181
lines changed

ext/ftp/tests/001.phpt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
--TEST--
22
FTP login
3-
--SKIPIF--
4-
<?php
5-
require 'skipif.inc';
6-
?>
3+
--EXTENSIONS--
4+
ftp
5+
pcntl
76
--FILE--
87
<?php
98
require 'server.inc';

ext/ftp/tests/002.phpt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
--TEST--
22
FTP login (SSL)
3+
--EXTENSIONS--
4+
ftp
5+
pcntl
6+
openssl
37
--SKIPIF--
48
<?php
5-
$ssl = 1;
6-
require 'skipif.inc';
79
if (!function_exists("ftp_ssl_connect")) die("skip ftp_ssl is disabled");
810
?>
911
--FILE--

ext/ftp/tests/003.phpt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
--TEST--
22
FTP cwd
3-
--SKIPIF--
4-
<?php
5-
require 'skipif.inc';
6-
?>
3+
--EXTENSIONS--
4+
ftp
5+
pcntl
76
--FILE--
87
<?php
98
require 'server.inc';

ext/ftp/tests/004.phpt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
--TEST--
22
FTP with bogus parameters
3-
--SKIPIF--
4-
<?php
5-
require 'skipif.inc';
6-
?>
3+
--EXTENSIONS--
4+
ftp
5+
pcntl
76
--FILE--
87
<?php
98
require 'server.inc';

ext/ftp/tests/005.phpt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
--TEST--
22
FTP with bogus server responses
3-
--SKIPIF--
4-
<?php
5-
require 'skipif.inc';
6-
?>
3+
--EXTENSIONS--
4+
ftp
5+
pcntl
76
--FILE--
87
<?php
98
$bogus = 1;

ext/ftp/tests/007.phpt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ FTP with bogus resource
33
--CREDITS--
44
Michael Paul da Rosa <michael [at] michaelpaul [dot] com [dot] br>
55
PHP TestFest Dublin 2017
6-
--SKIPIF--
7-
<?php
8-
require 'skipif.inc';
9-
?>
6+
--EXTENSIONS--
7+
ftp
8+
pcntl
109
--FILE--
1110
<?php
1211
$ftp = tmpfile();

ext/ftp/tests/bug27809.phpt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
--TEST--
22
Bug #27809 (ftp_systype returns null)
3-
--SKIPIF--
4-
<?php
5-
require 'skipif.inc';
6-
?>
3+
--EXTENSIONS--
4+
ftp
5+
pcntl
76
--FILE--
87
<?php
98
$bug27809=true;

ext/ftp/tests/bug37799.phpt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
--TEST--
22
Bug #37799 (ftp_ssl_connect() falls back to non-ssl connection)
3+
--EXTENSIONS--
4+
ftp
5+
pcntl
6+
openssl
37
--SKIPIF--
48
<?php
5-
$ssl = 1;
6-
require 'skipif.inc';
79
if (!function_exists("ftp_ssl_connect")) die("skip ftp_ssl is disabled");
810
?>
911
--FILE--

ext/ftp/tests/bug39458-2.phpt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
--TEST--
22
Bug #39458 (ftp_nlist() returns false on empty directories (other server behaviour))
3-
--SKIPIF--
4-
<?php
5-
require 'skipif.inc';
6-
?>
3+
--EXTENSIONS--
4+
ftp
5+
pcntl
76
--FILE--
87
<?php
98
$bug39458=1;

ext/ftp/tests/bug39458.phpt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
--TEST--
22
Bug #39458 (ftp_nlist() returns false on empty directories)
3-
--SKIPIF--
4-
<?php
5-
require 'skipif.inc';
6-
?>
3+
--EXTENSIONS--
4+
ftp
5+
pcntl
76
--FILE--
87
<?php
98
require 'server.inc';

0 commit comments

Comments
 (0)