]> granicus.if.org Git - php/commitdiff
- Fixed SKIPIF section of bug52820.phpt.
authorGustavo André dos Santos Lopes <cataphract@php.net>
Sun, 20 Mar 2011 22:15:43 +0000 (22:15 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Sun, 20 Mar 2011 22:15:43 +0000 (22:15 +0000)
ext/standard/tests/file/bug52820.phpt

index a631bef4b393f39d67a52a998dff89b754f94c12..3b7ed3ec34edfe50f6104d2bf8cea3d7ac9f0de3 100644 (file)
@@ -2,6 +2,8 @@
 Bug #52820 (writes to fopencookie FILE* not commited when seeking the stream)\r
 --SKIPIF--\r
 <?php\r
+if (!function_exists('leak_variable'))\r
+   die("skip only for debug builds");\r
 /* unfortunately no standard function does a cast to FILE*, so we need\r
  * curl to test this */\r
 if (!extension_loaded("curl")) exit("skip curl extension not loaded");\r