From: Antony Dovgal Date: Mon, 5 Jan 2009 16:02:04 +0000 (+0000) Subject: create temporary db in the current dir and cleanup on completion X-Git-Tag: php-5.3.0beta1~272 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b9cd5421dcbd4d4cabd11acdbdcd437785abf89;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 d78b12fb91..9f1961c267 100644 --- a/ext/pdo/tests/bug_44159.phpt +++ b/ext/pdo/tests/bug_44159.phpt @@ -4,14 +4,14 @@ Bug #44159 (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NULL)) --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