diff options
author | Remi Collet <remi@php.net> | 2016-05-25 16:17:12 +0200 |
---|---|---|
committer | Julien Pauli <jpauli@php.net> | 2016-05-25 16:40:52 +0200 |
commit | 4dd03651f3c90a754600e9b76e33c9481bd9e720 (patch) | |
tree | 0500d867177203ad1a8564502956966fd09a389d | |
parent | 0c84740450814d0668c3dfba3d3a1c3cd6fabc4b (diff) | |
download | php-git-4dd03651f3c90a754600e9b76e33c9481bd9e720.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 5e591ee478..3cd03fd09a 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"); |