jani                                     Thu, 10 Dec 2009 09:23:06 +0000

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

Log:
- not needed anymore

Changed paths:
    D   
php/php-src/branches/PHP_5_3/ext/standard/tests/network/define_syslog_variables_variation-win32.phpt

Deleted: 
php/php-src/branches/PHP_5_3/ext/standard/tests/network/define_syslog_variables_variation-win32.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_3/ext/standard/tests/network/define_syslog_variables_variation-win32.phpt
        2009-12-10 09:22:54 UTC (rev 291940)
+++ 
php/php-src/branches/PHP_5_3/ext/standard/tests/network/define_syslog_variables_variation-win32.phpt
        2009-12-10 09:23:06 UTC (rev 291941)
@@ -1,97 +0,0 @@
---TEST--
-Test define_syslog_variables() function : variation
---INI--
-define_syslog_variables = true
---SKIPIF--
-<?php
-if(substr(PHP_OS, 0, 3) != "WIN")
-  die("skip Only run on Windows");
-?>
---FILE--
-<?php
-/* Prototype  : void define_syslog_variables(void)
- * Description: Initializes all syslog-related variables
- * Source code: ext/standard/syslog.c
- * Alias to functions:
- */
-
-echo "*** Testing define_syslog_variables() : variation ***\n";
-
-$log_constants = array(
-               LOG_EMERG,
-               LOG_ALERT,
-               LOG_CRIT,
-               LOG_ERR,
-               LOG_WARNING,
-               LOG_NOTICE,
-               LOG_INFO,
-               LOG_DEBUG,
-               LOG_KERN,
-               LOG_USER,
-               LOG_MAIL,
-               LOG_DAEMON,
-               LOG_AUTH,
-               LOG_SYSLOG,
-               LOG_LPR,
-               LOG_NEWS,
-               LOG_UUCP,
-               LOG_CRON,
-               LOG_AUTHPRIV,
-               LOG_PID,
-               LOG_CONS,
-               LOG_ODELAY,
-               LOG_NDELAY,
-               LOG_NOWAIT,
-               LOG_PERROR,
-);
-
-
-$log_variables = array(
-               "LOG_EMERG",
-               "LOG_ALERT",
-               "LOG_CRIT",
-               "LOG_ERR",
-               "LOG_WARNING",
-               "LOG_NOTICE",
-               "LOG_INFO",
-               "LOG_DEBUG",
-               "LOG_KERN",
-               "LOG_USER",
-               "LOG_MAIL",
-               "LOG_DAEMON",
-               "LOG_AUTH",
-               "LOG_SYSLOG",
-               "LOG_LPR",
-               "LOG_NEWS",
-               "LOG_UUCP",
-               "LOG_CRON",
-               "LOG_AUTHPRIV",
-               "LOG_PID",
-               "LOG_CONS",
-               "LOG_ODELAY",
-               "LOG_NDELAY",
-               "LOG_NOWAIT",
-               "LOG_PERROR",
-);
-
-error_reporting(E_ALL);
-$failed = false;
-
-// show variables defined
-for ($t = 0; $t < count($log_variables); $t++) {
-   if (isset($$log_variables[$t]) === false || $$log_variables[$t] != 
$log_constants[$t]) {
-      $failed = true;
-      echo "FAILED: $log_variables[$t] doesn't contain the correct value\n";
-   }
-}
-
-if ($failed == false) {
-   echo "PASSED\n";
-}
-?>
-===DONE===
---EXPECT--
-*** Testing define_syslog_variables() : variation ***
-PASSED
-===DONE===
-Warning: Directive 'define_syslog_variables' is deprecated in PHP 5.3 and 
greater in Unknown on line 0

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

Reply via email to