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

1.1     ! misho       1: --TEST--
        !             2: Sybase-CT close default connection
        !             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: test_close_default.phpt 268631 2008-11-09 11:38:17Z thekid $ 
        !            10:  */
        !            11: 
        !            12:   require('test.inc');
        !            13: 
        !            14:   sybase_connect_ex();
        !            15:   sybase_close();
        !            16:   var_dump(sybase_query('select getdate()'));
        !            17: ?>
        !            18: --EXPECTF--
        !            19: 
        !            20: Warning: sybase_query(): Sybase:  No connection in %s on line %d
        !            21: bool(false)

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