Skip to content

Commit fa40c22

Browse files
committed
Unbreak SKIPIF
1 parent b4ace61 commit fa40c22

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ext/openssl/tests/stream_server_reneg_limit.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ openssl
55
--SKIPIF--
66
<?php
77
if (!function_exists("proc_open")) die("skip no proc_open");
8-
exec('openssl help', $out, $code);
8+
exec('openssl help 2> /dev/null', $out, $code);
99
if ($code > 0) die("skip couldn't locate openssl binary");
1010
if(substr(PHP_OS, 0, 3) == 'WIN') {
1111
die('skip not suitable for Windows');

ext/phar/tests/tar/bug70417.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ zlib
66
--SKIPIF--
77
<?php
88

9-
exec('lsof -p ' . getmypid(), $out, $status);
9+
exec('lsof -p ' . getmypid() . ' 2> /dev/null', $out, $status);
1010
if ($status !== 0) {
1111
die("skip lsof(8) not available");
1212
}

ext/standard/tests/file/bug81145.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if (disk_free_space(__DIR__) < 0x220000000) die("skip insuffient disk space");
88
if (PHP_OS_FAMILY !== "Windows") {
99
$src = __DIR__ . "/bug81145_src.bin";
1010
define('SIZE_4G', 0x100000000);
11-
exec("fallocate -l " . (SIZE_4G-0x100) . " " . escapeshellarg($src), $output, $status);
11+
exec("fallocate -l " . (SIZE_4G-0x100) . " " . escapeshellarg($src) . " 2> /dev/null", $output, $status);
1212
if ($status !== 0) die("skip fallocate() not supported");
1313
@unlink(__DIR__ . "/bug81145_src.bin");
1414
}

0 commit comments

Comments
 (0)