update patch
authorElan Ruusamäe <glen@delfi.ee>
Wed, 23 Nov 2016 02:11:18 +0000 (04:11 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 23 Nov 2016 02:11:18 +0000 (04:11 +0200)
should keep the original connect line

tests.patch

index 39766632feb1041fdbb1f3e9298a6006067a17d1..6485505e8cb6bf81165b3a023e92d49f7f6a81ba 100644 (file)
@@ -1,11 +1,18 @@
+https://github.com/websupport-sk/pecl-memcache/pull/16
 
-move connect to proper section to make SKIP work
+commit efad82d9517a13ec0073525759ac900a55c27c99
+Author: Elan Ruusamäe <glen@delfi.ee>
+Date:   Wed Nov 23 03:59:51 2016 +0200
 
-https://github.com/websupport-sk/pecl-memcache/pull/16
+    move connect to proper section to make SKIP work
+    
+    otherwise this test will FAIL instead of SKIP if memcache server is not available
 
---- php70-pecl-memcache-3.0.9/tests/pecl16442.phpt~    2016-11-23 03:56:10.000000000 +0200
-+++ php70-pecl-memcache-3.0.9/tests/pecl16442.phpt     2016-11-23 03:57:20.017464335 +0200
-@@ -1,10 +1,10 @@
+diff --git a/tests/pecl16442.phpt b/tests/pecl16442.phpt
+index b1a7edf..499c645 100644
+--- a/tests/pecl16442.phpt
++++ b/tests/pecl16442.phpt
+@@ -1,5 +1,7 @@
  --TEST--
  PECL bug #16442 (memcache_set fail with integer value)
 +--SKIPIF--
@@ -13,8 +20,3 @@ https://github.com/websupport-sk/pecl-memcache/pull/16
  --FILE--
  <?php
  
--include 'connect.inc';
--
- $memcache_obj = memcache_connect('localhost', 11211);
- memcache_set($memcache_obj, 'test123112', 1, MEMCACHE_COMPRESSED, 30);
- $ret = memcache_get($memcache_obj, 'test123112');
This page took 0.048328 seconds and 4 git commands to generate.