com php-src: Forgot the test for bug #69688: ext/opcache/tests/bug69688.phpt
| From: | Xinchen Hui | Date: | Fri, 22 May 2015 03:50:55 +0000 |
| Subject: | com php-src: Forgot the test for bug #69688: ext/opcache/tests/bug69688.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86868@lists.php.net to get a copy of this message | ||
Commit: 50688e3984054d74f0a320078bdc64fef8f949f5
Author: Xinchen Hui <laruence@php.net> Fri, 22 May 2015 11:50:55 +0800
Parents: 95da6b76f3953b32df7f26c92ac3ab9c18c5d075
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=50688e3984054d74f0a320078bdc64fef8f949f5
Log:
Forgot the test for bug #69688
Bugs:
https://bugs.php.net/69688
Changed paths:
A ext/opcache/tests/bug69688.phpt
Diff:
diff --git a/ext/opcache/tests/bug69688.phpt b/ext/opcache/tests/bug69688.phpt
new file mode 100644
index 0000000..cc75960
--- /dev/null
+++ b/ext/opcache/tests/bug69688.phpt
@@ -0,0 +1,18 @@
+--TEST--
+Bug #69688 (segfault with eval and opcache fast shutdown)
+--INI--
+opcache.enable=1
+opcache.enable_cli=1
+opcache..fast_shutdown=1
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
+--FILE--
+<?php
+eval('function g() {} function g2() {} function g3() {}');
+
+eval('class A{} class B{} class C{}');
+
+?>
+okey
+--EXPECT--
+okey