felipe                                   Sun, 13 Dec 2009 16:53:24 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=292080

Log:
- Fixed tests for when running using libedit

Changed paths:
    U   
php/php-src/branches/PHP_5_2/ext/readline/tests/readline_add_history_001.phpt
    U   
php/php-src/branches/PHP_5_2/ext/readline/tests/readline_callback_handler_install_001.phpt
    U   
php/php-src/branches/PHP_5_2/ext/readline/tests/readline_callback_handler_remove_001.phpt
    U   
php/php-src/branches/PHP_5_2/ext/readline/tests/readline_list_history_001.phpt
    U   
php/php-src/branches/PHP_5_2/ext/readline/tests/readline_read_history_001.phpt
    U   
php/php-src/branches/PHP_5_2/ext/readline/tests/readline_write_history_001.phpt
    U   
php/php-src/branches/PHP_5_3/ext/readline/tests/readline_add_history_001.phpt
    U   
php/php-src/branches/PHP_5_3/ext/readline/tests/readline_callback_handler_install_001.phpt
    U   
php/php-src/branches/PHP_5_3/ext/readline/tests/readline_callback_handler_remove_001.phpt
    U   
php/php-src/branches/PHP_5_3/ext/readline/tests/readline_list_history_001.phpt
    U   
php/php-src/branches/PHP_5_3/ext/readline/tests/readline_read_history_001.phpt
    U   
php/php-src/branches/PHP_5_3/ext/readline/tests/readline_write_history_001.phpt
    U   php/php-src/trunk/ext/readline/tests/readline_add_history_001.phpt
    U   
php/php-src/trunk/ext/readline/tests/readline_callback_handler_install_001.phpt
    U   
php/php-src/trunk/ext/readline/tests/readline_callback_handler_remove_001.phpt
    U   php/php-src/trunk/ext/readline/tests/readline_list_history_001.phpt
    U   php/php-src/trunk/ext/readline/tests/readline_read_history_001.phpt
    U   php/php-src/trunk/ext/readline/tests/readline_write_history_001.phpt

Modified: php/php-src/branches/PHP_5_2/ext/readline/tests/readline_add_history_001.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/readline/tests/readline_add_history_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/branches/PHP_5_2/ext/readline/tests/readline_add_history_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_add_history(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_list_history')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/branches/PHP_5_2/ext/readline/tests/readline_callback_handler_install_001.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/readline/tests/readline_callback_handler_install_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/branches/PHP_5_2/ext/readline/tests/readline_callback_handler_install_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_callback_handler_install(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_callback_handler_install')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/branches/PHP_5_2/ext/readline/tests/readline_callback_handler_remove_001.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/readline/tests/readline_callback_handler_remove_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/branches/PHP_5_2/ext/readline/tests/readline_callback_handler_remove_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_callback_handler_remove(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_callback_handler_remove')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/branches/PHP_5_2/ext/readline/tests/readline_list_history_001.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/readline/tests/readline_list_history_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/branches/PHP_5_2/ext/readline/tests/readline_list_history_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_list_history(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_list_history')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/branches/PHP_5_2/ext/readline/tests/readline_read_history_001.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/readline/tests/readline_read_history_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/branches/PHP_5_2/ext/readline/tests/readline_read_history_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_read_history(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_list_history')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/branches/PHP_5_2/ext/readline/tests/readline_write_history_001.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/readline/tests/readline_write_history_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/branches/PHP_5_2/ext/readline/tests/readline_write_history_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_write_history(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_add_history')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/branches/PHP_5_3/ext/readline/tests/readline_add_history_001.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/readline/tests/readline_add_history_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/branches/PHP_5_3/ext/readline/tests/readline_add_history_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_add_history(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_list_history')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/branches/PHP_5_3/ext/readline/tests/readline_callback_handler_install_001.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/readline/tests/readline_callback_handler_install_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/branches/PHP_5_3/ext/readline/tests/readline_callback_handler_install_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_callback_handler_install(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_callback_handler_install')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/branches/PHP_5_3/ext/readline/tests/readline_callback_handler_remove_001.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/readline/tests/readline_callback_handler_remove_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/branches/PHP_5_3/ext/readline/tests/readline_callback_handler_remove_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_callback_handler_remove(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_callback_handler_remove')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/branches/PHP_5_3/ext/readline/tests/readline_list_history_001.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/readline/tests/readline_list_history_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/branches/PHP_5_3/ext/readline/tests/readline_list_history_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_list_history(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_list_history')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/branches/PHP_5_3/ext/readline/tests/readline_read_history_001.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/readline/tests/readline_read_history_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/branches/PHP_5_3/ext/readline/tests/readline_read_history_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_read_history(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_list_history')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/branches/PHP_5_3/ext/readline/tests/readline_write_history_001.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/readline/tests/readline_write_history_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/branches/PHP_5_3/ext/readline/tests/readline_write_history_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_write_history(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_add_history')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/trunk/ext/readline/tests/readline_add_history_001.phpt
===================================================================
--- php/php-src/trunk/ext/readline/tests/readline_add_history_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/trunk/ext/readline/tests/readline_add_history_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_add_history(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_list_history')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/trunk/ext/readline/tests/readline_callback_handler_install_001.phpt
===================================================================
--- php/php-src/trunk/ext/readline/tests/readline_callback_handler_install_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/trunk/ext/readline/tests/readline_callback_handler_install_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_callback_handler_install(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_callback_handler_install')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/trunk/ext/readline/tests/readline_callback_handler_remove_001.phpt
===================================================================
--- php/php-src/trunk/ext/readline/tests/readline_callback_handler_remove_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/trunk/ext/readline/tests/readline_callback_handler_remove_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_callback_handler_remove(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_callback_handler_remove')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/trunk/ext/readline/tests/readline_list_history_001.phpt
===================================================================
--- php/php-src/trunk/ext/readline/tests/readline_list_history_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/trunk/ext/readline/tests/readline_list_history_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_list_history(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_list_history')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/trunk/ext/readline/tests/readline_read_history_001.phpt
===================================================================
--- php/php-src/trunk/ext/readline/tests/readline_read_history_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/trunk/ext/readline/tests/readline_read_history_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_read_history(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_list_history')) die("skip"); ?>
 --FILE--
 <?php


Modified: php/php-src/trunk/ext/readline/tests/readline_write_history_001.phpt
===================================================================
--- php/php-src/trunk/ext/readline/tests/readline_write_history_001.phpt	2009-12-13 15:44:22 UTC (rev 292079)
+++ php/php-src/trunk/ext/readline/tests/readline_write_history_001.phpt	2009-12-13 16:53:24 UTC (rev 292080)
@@ -1,7 +1,7 @@
 --TEST--
 readline_write_history(): Basic test
 --SKIPIF--
-<?php if (!extension_loaded("readline")) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_add_history')) die("skip"); ?>
 --FILE--
 <?php

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to