com php-src: Skip test which is 64bits only: ext/standard/tests/file/bug72114.phpt
| From: | JulienPauli | Date: | Wed, 25 May 2016 14:40:52 +0000 |
| Subject: | com php-src: Skip test which is 64bits only: ext/standard/tests/file/bug72114.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92207@lists.php.net to get a copy of this message | ||
Commit: 4dd03651f3c90a754600e9b76e33c9481bd9e720
Author: Remi Collet <remi@php.net> Wed, 25 May 2016 16:17:12 +0200
Committer: Julien Pauli <jpauli@php.net> Wed, 25 May 2016 16:40:52 +0200
Parents: 0c84740450814d0668c3dfba3d3a1c3cd6fabc4b
Branches: PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4dd03651f3c90a754600e9b76e33c9481bd9e720
Log:
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 ...
Changed paths:
M ext/standard/tests/file/bug72114.phpt
Diff:
diff --git a/ext/standard/tests/file/bug72114.phpt b/ext/standard/tests/file/bug72114.phpt
index 5e591ee..3cd03fd 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");