From: Anatol Belski Date: Sun, 1 May 2016 17:25:39 +0000 (+0200) Subject: fix test if unlink fails occasionally X-Git-Tag: php-7.0.7RC1~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5360b3de338f2945586ada962ef078ca2e43c5f3;p=php fix test if unlink fails occasionally --- 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