]> git.pld-linux.org Git - packages/php.git/blobdiff - bug-test-pcntl-55479.patch
Drop unused patches
[packages/php.git] / bug-test-pcntl-55479.patch
diff --git a/bug-test-pcntl-55479.patch b/bug-test-pcntl-55479.patch
deleted file mode 100644 (file)
index 8f20b23..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-need to setup extension dir to current build instead of defaulting to system
-defaults (which may be different php version)
-also use preprocessed PHP.INI from test framework
-
---- php-5.4.0alpha3/ext/pcntl/tests/pcntl_exec.phpt    2011-06-24 22:18:06.000000000 +0300
-+++ php-5.4.0alpha3/ext/pcntl/tests/pcntl_exec.phpt    2011-08-22 09:36:01.105334996 +0300
-@@ -8,7 +8,10 @@
- --FILE--
- <?php
- echo "ok\n";
--pcntl_exec(getenv("TEST_PHP_EXECUTABLE"));
-+$php = getenv("TEST_PHP_EXECUTABLE");
-+$extension_dir = ini_get("extension_dir");
-+$inipath = php_ini_loaded_file();
-+pcntl_exec($php, array("-n", "-d$extension_dir", "-c$inipath"));
- echo "nok\n";
- ?>
- --EXPECT--
---- php-5.4.0alpha3/ext/pcntl/tests/pcntl_exec_2.phpt~ 2011-06-24 22:18:06.000000000 +0300
-+++ php-5.4.0alpha3/ext/pcntl/tests/pcntl_exec_2.phpt  2011-08-22 19:57:12.780576314 +0300
-@@ -14,7 +14,13 @@
-       exit;
- }
- echo "ok\n";
--pcntl_exec(getenv("TEST_PHP_EXECUTABLE"), array(__FILE__), array(
-+
-+$php = getenv("TEST_PHP_EXECUTABLE");
-+$extension_dir = ini_get("extension_dir");
-+$inipath = php_ini_loaded_file();
-+$args = array("-n", "-d$extension_dir", "-c$inipath", __FILE__);
-+
-+pcntl_exec($php, $args, array(
-       b"PCNTL_EXEC_TEST_IS_CHILD" => b"1", 
-       b"FOO" => b"BAR",
-       1 => b"long")
This page took 0.030538 seconds and 4 git commands to generate.