Re: cvs: php-src(PHP_5_2) /ext/sybase_ct/tests test.inc
| From: | Marcus Boerger | Date: | Tue, 22 May 2007 17:38:01 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_2) /ext/sybase_ct/tests test.inc | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-44436@lists.php.net to get a copy of this message | ||
Hello Timm,
how about taking the configuration from environment if present.
Something like PHP_TEST_SYBASE_CT_* environment variables.
best regards
marcus
Tuesday, May 22, 2007, 1:36:55 PM, you wrote:
> thekid Tue May 22 11:36:55 2007 UTC
> Modified files: (Branch: PHP_5_2)
> /php-src/ext/sybase_ct/tests test.inc
> Log:
> - Added constant TEMPDB, defaulting to "tempdb"
> # This constant is used by some of the tests and should point
> # to a database where the user has create proc|table permissions
>
>
> http://cvs.php.net/viewvc.cgi/php-src/ext/sybase_ct/tests/test.inc?r1=1.4.6.2&r2=1.4.6.3&diff_format=u
> Index: php-src/ext/sybase_ct/tests/test.inc
> diff -u php-src/ext/sybase_ct/tests/test.inc:1.4.6.2
> php-src/ext/sybase_ct/tests/test.inc:1.4.6.3
> --- php-src/ext/sybase_ct/tests/test.inc:1.4.6.2 Sun Mar 11 12:56:44 2007
> +++ php-src/ext/sybase_ct/tests/test.inc Tue May 22 11:36:55 2007
> @@ -1,13 +1,14 @@
> <?php
> /* This file is part of PHP test framework for ext/sybase_ct
> *
> - * $Id: test.inc,v 1.4.6.2 2007/03/11 12:56:44 tony2001 Exp $
> + * $Id: test.inc,v 1.4.6.3 2007/05/22 11:36:55 thekid Exp $
> */
>
> // Change if needed
> define('HOST', '****');
> define('USER', '****');
> define('PASSWORD', '****');
> + define('TEMPDB', 'tempdb');
>
> // {{{ bool sybase_msg_handler(int msgnumber, int severity, int state, int line, string
> text)
> // Handles server messages
Best regards,
Marcus