summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-08-03 07:10:27 +0200
committerAnatol Belski <ab@php.net>2018-08-03 07:10:27 +0200
commit0872e80dd8e3544d3e90c16f63bc513de86405cb (patch)
tree1df9ab631bf35537ccff3a51f0198c09297b3ed5
parent91a0a10f715d1c32adab83b55bd970cfbaba9721 (diff)
parent41c69766a4bcbd74779379129964cf0bf26b4217 (diff)
downloadphp-git-0872e80dd8e3544d3e90c16f63bc513de86405cb.tar.gz
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: 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