cvs: php-src /ext/sybase_ct/tests test_appname.phpt

From: Date: Mon, 10 Nov 2008 11:52:16 +0000
Subject: cvs: php-src /ext/sybase_ct/tests test_appname.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-54134@lists.php.net to get a copy of this message
thekid Mon Nov 10 11:52:16 2008 UTC Modified files: /php-src/ext/sybase_ct/tests test_appname.phpt Log: - MFB: Made this test independent of field types in master..sysprocesses # char on ASE 11, varchar on ASE 15 http://cvs.php.net/viewvc.cgi/php-src/ext/sybase_ct/tests/test_appname.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/sybase_ct/tests/test_appname.phpt diff -u php-src/ext/sybase_ct/tests/test_appname.phpt:1.2 php-src/ext/sybase_ct/tests/test_appname.phpt:1.3 --- php-src/ext/sybase_ct/tests/test_appname.phpt:1.2 Sun Feb 6 12:59:03 2005 +++ php-src/ext/sybase_ct/tests/test_appname.phpt Mon Nov 10 11:52:16 2008 @@ -6,7 +6,7 @@ <?php /* This file is part of PHP test framework for ext/sybase_ct * - * $Id: test_appname.phpt,v 1.2 2005/02/06 12:59:03 thekid Exp $ + * $Id: test_appname.phpt,v 1.3 2008/11/10 11:52:16 thekid Exp $ */ require('test.inc'); @@ -35,9 +35,8 @@ ); var_dump( - $r, - compare_string($program_name, $r[0]['program_name']), - compare_string($hostname, $r[0]['hostname']) + compare_string($program_name, $r[0][b'program_name']), + compare_string($hostname, $r[0][b'hostname']) ); sybase_close($db); @@ -52,14 +51,5 @@ where program_name = "phpt_test" <<< Return: resource -array(1) { - [0]=> - array(2) { - ["hostname"]=> - string(10) "php.net%s" - ["program_name"]=> - string(16) "phpt_test%s" - } -} bool(true) bool(true)

« previous php.cvs (#54134) next »