Annotation of embedaddon/php/ext/sybase_ct/tests/bug6339.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Sybase-CT bug #6339 (invalid Sybase-link resource)
        !             3: --SKIPIF--
        !             4: <?php require('skipif.inc'); ?>
        !             5: --FILE--
        !             6: <?php
        !             7: /* This file is part of PHP test framework for ext/sybase_ct
        !             8:  *
        !             9:  * $Id: bug6339.phpt 242949 2007-09-26 15:44:16Z cvs2svn $ 
        !            10:  */
        !            11: 
        !            12:   require('test.inc');
        !            13:   
        !            14:   // Suppress "Changed database context" warnings
        !            15:   sybase_min_server_severity(11);
        !            16:   sybase_connect(HOST, USER, PASSWORD);
        !            17:   var_dump(sybase_fetch_row(sybase_query('select 1')));
        !            18:   sybase_close();
        !            19: ?>
        !            20: --EXPECTF--
        !            21: array(1) {
        !            22:   [0]=>
        !            23:   int(1)
        !            24: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>