]> granicus.if.org Git - php/commitdiff
- Fix cleanup
authorJani Taskinen <jani@php.net>
Sat, 25 Apr 2009 21:44:20 +0000 (21:44 +0000)
committerJani Taskinen <jani@php.net>
Sat, 25 Apr 2009 21:44:20 +0000 (21:44 +0000)
ext/pdo_sqlite/tests/bug46542.phpt

index ccde633dc761defcb8ae4c771aa2e84ea9a71f99..2de0c051910ec48afa019e67622aafb949f13385 100644 (file)
@@ -9,11 +9,15 @@ if (!extension_loaded('pdo_sqlite')) print 'skip not loaded';
 class A extends PDO
 { function __call($m, $p) {print __CLASS__."::$m\n";} }
 
-$a = new A('sqlite:dummy.db');
+$a = new A('sqlite:' . __DIR__ . '/dummy.db');
 
 $a->truc();
 $a->TRUC();
 
+?>
+--CLEAN--
+<?php
+unlink(__DIR__ . '/dummy.db');
 ?>
 --EXPECT--
 A::truc