From: Anatol Belski Date: Fri, 3 Aug 2018 05:08:53 +0000 (+0200) Subject: Improve cleanup X-Git-Tag: php-7.3.0beta2~48^2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41c69766a4bcbd74779379129964cf0bf26b4217;p=php Improve cleanup The persistent connection locks the file which might prevent deletion. --- diff --git a/ext/pdo_sqlite/tests/bug70221.phpt b/ext/pdo_sqlite/tests/bug70221.phpt index 2d1aea0e8b..aa9d4ee8e2 100644 --- a/ext/pdo_sqlite/tests/bug70221.phpt +++ b/ext/pdo_sqlite/tests/bug70221.phpt @@ -12,7 +12,11 @@ function _test() { return 42; } $db->sqliteCreateFunction('test', '_test', 0); print("Everything is fine, no exceptions here\n"); unset($db); -@unlink($dbfile); +?> +--CLEAN-- + --EXPECT-- Everything is fine, no exceptions here