From 962243af0856c6fa01e1e02791e4ae16831e471e Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 5 Jan 2009 16:01:45 +0000 Subject: [PATCH] create temporary db in the current dir and cleanup on completion --- ext/pdo/tests/bug_44159.phpt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.40.0