]> granicus.if.org Git - php/commitdiff
fix test if unlink fails occasionally
authorAnatol Belski <ab@php.net>
Sun, 1 May 2016 17:25:39 +0000 (19:25 +0200)
committerAnatol Belski <ab@php.net>
Sun, 1 May 2016 17:25:39 +0000 (19:25 +0200)
ext/pdo_sqlite/tests/bug70221.phpt

index bead80d23343ea2b796c3db5da236d50fbede201..2d1aea0e8b5274289f138a960fe682870f1c2c96 100644 (file)
@@ -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