Skip to content

Commit 209ee75

Browse files
committed
Comments
1 parent aa1bbd1 commit 209ee75

5 files changed

+8
-5
lines changed

ext/gd/tests/gd_create_xbm_stream_lose_data.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ gd
55
--SKIPIF--
66
<?php
77
if (!GD_BUNDLED) die("skip requires bundled GD library\n");
8-
//if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
98
require __DIR__ . '/../../standard/tests/http/server.inc'; http_server_skipif();
109
?>
1110
--INI--

ext/posix/tests/posix_isatty_stream_lose_data.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ posix_isatty(): casting stream emits data loss
44
posix
55
--SKIPIF--
66
<?php
7-
//if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
87
require __DIR__ . '/../../standard/tests/http/server.inc'; http_server_skipif();
98
?>
109
--INI--
@@ -20,6 +19,8 @@ $responses = array(
2019

2120
['pid' => $pid, 'uri' => $uri] = http_server($responses, $output);
2221

22+
/* Note: the warning is bogus in this case as no data actually gets lost,
23+
* but this checks that stream casting works */
2324
$handle = fopen($uri, 'r');
2425
var_dump(posix_isatty($handle));
2526
var_dump(fread($handle, 20));

ext/posix/tests/posix_ttyname_stream_lose_data.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ posix_ttyname(): casting stream emits data loss
44
posix
55
--SKIPIF--
66
<?php
7-
//if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
87
require __DIR__ . '/../../standard/tests/http/server.inc'; http_server_skipif();
98
?>
109
--INI--
@@ -20,6 +19,8 @@ $responses = array(
2019

2120
['pid' => $pid, 'uri' => $uri] = http_server($responses, $output);
2221

22+
/* Note: the warning is bogus in this case as no data actually gets lost,
23+
* but this checks that stream casting works */
2324
$handle = fopen($uri, 'r');
2425
var_dump(posix_ttyname($handle));
2526
var_dump(fread($handle, 20));

tests/output/sapi_windows_vt100_support_stream_lose_data.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ if(PHP_OS_FAMILY !== "Windows") {
1010
) >= 0) {
1111
echo "skip Only for Windows systems < 10.0.10586";
1212
}
13-
//if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
1413
require __DIR__ . '/../../ext/standard/tests/http/server.inc'; http_server_skipif();
1514
?>
1615
--INI--
@@ -26,6 +25,8 @@ $responses = array(
2625

2726
['pid' => $pid, 'uri' => $uri] = http_server($responses, $output);
2827

28+
/* Note: the warning is bogus in this case as no data actually gets lost,
29+
* but this checks that stream casting works */
2930
$handle = fopen($uri, 'r');
3031
var_dump(sapi_windows_vt100_support($handle));
3132
var_dump(fread($handle, 20));

tests/output/stream_isatty_stream_lose_data.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ stream_isatty(): casting stream emits data loss
33
Bug GH-10092 (Internal stream casting should not emit lost bytes warning twice)
44
--SKIPIF--
55
<?php
6-
//if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
76
require __DIR__ . '/../../ext/standard/tests/http/server.inc'; http_server_skipif();
87
?>
98
--INI--
@@ -19,6 +18,8 @@ $responses = array(
1918

2019
['pid' => $pid, 'uri' => $uri] = http_server($responses, $output);
2120

21+
/* Note: the warning is bogus in this case as no data actually gets lost,
22+
* but this checks that stream casting works */
2223
$handle = fopen($uri, 'r');
2324
var_dump(stream_isatty($handle));
2425
var_dump(fread($handle, 20));

0 commit comments

Comments
 (0)