Annotation of embedaddon/php/tests/basic/bug20539.phpt, revision 1.1.1.2

1.1       misho       1: --TEST--
                      2: Bug #20539 (PHP CLI Segmentation Fault)
                      3: --SKIPIF--
                      4: <?php if (!extension_loaded("session")) die("skip session extension not available"); ?>
                      5: <?php unlink(__DIR__. '/sess_' .session_id()); ?>
                      6: --INI--
                      7: session.auto_start=1
                      8: session.save_handler=files
                      9: session.save_path=./tests/basic/
                     10: --FILE--
                     11: <?php
                     12:        print "good :)\n";
                     13:        $filename = __DIR__ . '/sess_' . session_id();
1.1.1.2 ! misho      14:        var_dump(file_exists($filename));
        !            15:        @unlink($filename);
1.1       misho      16: ?>
                     17: --EXPECT--
                     18: good :)
                     19: bool(true)
                     20: 

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