summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-05-01 19:25:39 +0200
committerAnatol Belski <ab@php.net>2016-05-01 19:25:39 +0200
commit5360b3de338f2945586ada962ef078ca2e43c5f3 (patch)
treefcc3477069d7751e310f1db12ccebf8419655f74 /ext/pdo_sqlite
parent81e62e66d64117c85792bfb5413ba2fc8dd7b528 (diff)
downloadphp-git-5360b3de338f2945586ada962ef078ca2e43c5f3.tar.gz
fix test if unlink fails occasionally
Diffstat (limited to 'ext/pdo_sqlite')
-rw-r--r--ext/pdo_sqlite/tests/bug70221.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_sqlite/tests/bug70221.phpt b/ext/pdo_sqlite/tests/bug70221.phpt
index bead80d233..2d1aea0e8b 100644
--- a/ext/pdo_sqlite/tests/bug70221.phpt
+++ b/ext/pdo_sqlite/tests/bug70221.phpt
@@ -12,7 +12,7 @@ function _test() { return 42; }
$db->sqliteCreateFunction('test', '_test', 0);
print("Everything is fine, no exceptions here\n");
unset($db);
-unlink($dbfile);
+@unlink($dbfile);
?>
--EXPECT--
Everything is fine, no exceptions here