summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-08-03 07:12:13 +0200
committerAnatol Belski <ab@php.net>2018-08-03 07:12:13 +0200
commitcf21a505a64cf0e3a7fb11bc2df1f49a3df36d07 (patch)
tree1624bf98d3b763c2c48be944589f4e7deb87ae3e
parent0e0019f6940a252d5fa761b09e859a5d75b24545 (diff)
parent4bb44e0f44a879a7e678ca518e8d03ed4097a13b (diff)
downloadphp-git-cf21a505a64cf0e3a7fb11bc2df1f49a3df36d07.tar.gz
Merge branch 'PHP-7.3'
* PHP-7.3: Improve cleanup
-rw-r--r--ext/pdo_sqlite/tests/bug70221.phpt6
1 files changed, 5 insertions, 1 deletions
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--
+<?php
+$dbfile = __DIR__ . '/test.sqlite';
+unlink($dbfile);
?>
--EXPECT--
Everything is fine, no exceptions here