com php-src: add test for bug #69838: ext/opcache/tests/bu69838.phpt
| From: | Anatol Belski | Date: | Sat, 20 Jun 2015 07:35:02 +0000 |
| Subject: | com php-src: add test for bug #69838: ext/opcache/tests/bu69838.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87400@lists.php.net to get a copy of this message | ||
Commit: 658d698a1ccd41be0dcb94ea1d6ff5492d1c9748
Author: Anatol Belski <ab@php.net> Sat, 20 Jun 2015 09:20:26 +0200
Parents: f88aad418e4e6fcc91d048446f0892a3ee5b065f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=658d698a1ccd41be0dcb94ea1d6ff5492d1c9748
Log:
add test for bug #69838
Bugs:
https://bugs.php.net/69838
Changed paths:
A ext/opcache/tests/bu69838.phpt
Diff:
diff --git a/ext/opcache/tests/bu69838.phpt b/ext/opcache/tests/bu69838.phpt
new file mode 100644
index 0000000..f60cad7
--- /dev/null
+++ b/ext/opcache/tests/bu69838.phpt
@@ -0,0 +1,17 @@
+--TEST--
+Bug #69838 OPCACHE Warning Internal error: wrong size calculation
+--INI--
+opcache.enable=1
+opcache.enable_cli=1
+opcache.log_verbosity_level=2
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
+--FILE--
+<?php
+
+$x = gethostbyname("localhost");
+
+?>
+===DONE===
+--EXPECT--
+===DONE===