diff options
author | Remi Collet <remi@php.net> | 2016-05-25 16:17:12 +0200 |
---|---|---|
committer | Ferenc Kovacs <tyrael@php.net> | 2016-05-26 02:50:00 +0200 |
commit | fba887ae24c6ab617d2a457d9ed6e5b1eace9788 (patch) | |
tree | 4b590f581c4329701005e1f4d8e7124f2bd2f994 | |
parent | a3916cd9594a945a043169e9b8dc82fa2b8d99bb (diff) | |
download | php-git-fba887ae24c6ab617d2a457d9ed6e5b1eace9788.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"); |