diff options
author | Remi Collet <remi@php.net> | 2016-05-25 16:17:12 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2016-05-25 16:17:12 +0200 |
commit | ce932f6479a185d7f7f8a6d1eb9f735bbcadf001 (patch) | |
tree | 15fb1876c855b9f2458283100badc6cd5040e66d | |
parent | 65a2c451bbe0f9484d80611d7e3c538a129e5847 (diff) | |
download | php-git-ce932f6479a185d7f7f8a6d1eb9f735bbcadf001.tar.gz |
Skip test which is 64bits only
Diff from test output
001+ Warning: fread(): Length parameter must be greater than 0 in ...
001- Warning: fread(): Length parameter must be no more than 2147483647 in ...
-rw-r--r-- | ext/standard/tests/file/bug72114.phpt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/tests/file/bug72114.phpt b/ext/standard/tests/file/bug72114.phpt index f0f11c1dea..45570a3379 100644 --- a/ext/standard/tests/file/bug72114.phpt +++ b/ext/standard/tests/file/bug72114.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #72114 (Integer underflow / arbitrary null write in fread/gzread) +--SKIPIF-- +<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php ini_set('memory_limit', "2500M"); |