From: Antony Dovgal Date: Mon, 5 Jan 2009 16:01:45 +0000 (+0000) Subject: create temporary db in the current dir and cleanup on completion X-Git-Tag: php-5.2.9RC1~162 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=962243af0856c6fa01e1e02791e4ae16831e471e;p=php create temporary db in the current dir and cleanup on completion --- diff --git a/ext/pdo/tests/bug_44159.phpt b/ext/pdo/tests/bug_44159.phpt index db4da40139..6c7415ae0b 100644 --- a/ext/pdo/tests/bug_44159.phpt +++ b/ext/pdo/tests/bug_44159.phpt @@ -7,7 +7,8 @@ if (!extension_loaded('pdo_sqlite')) die('skip no pdo_sqlite'); --FILE-- setAttribute($attr, 'nonsense')); } +@unlink($dir."/foo.db"); + ?> --EXPECTF-- Warning: PDO::setAttribute(): SQLSTATE[HY000]: General error: PDO::ATTR_STATEMENT_CLASS requires format array(classname, array(ctor_args)); the classname must be a string specifying an existing class in %s on line %d