com php-src: fix test cleanup: ext/pgsql/tests/80_bug3 6625.phpt
| From: | Anatol Belski | Date: | Wed, 12 Nov 2014 16:57:20 +0000 |
| Subject: | com php-src: fix test cleanup: ext/pgsql/tests/80_bug3 6625.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83066@lists.php.net to get a copy of this message | ||
Commit: d7a00464686b5f4009a2248e9b010737c19cb13a
Author: Anatol Belski <ab@php.net> Wed, 12 Nov 2014 17:56:47 +0100
Parents: f00cf67d1ecee9042b4c53a64d2c9fbe50f0ca31
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d7a00464686b5f4009a2248e9b010737c19cb13a
Log:
fix test cleanup
Changed paths:
M ext/pgsql/tests/80_bug36625.phpt
Diff:
diff --git a/ext/pgsql/tests/80_bug36625.phpt b/ext/pgsql/tests/80_bug36625.phpt
index e1b7fa1..87dd84a 100644
--- a/ext/pgsql/tests/80_bug36625.phpt
+++ b/ext/pgsql/tests/80_bug36625.phpt
@@ -42,7 +42,13 @@ var_dump(file_exists($tracefile));
?>
===DONE===
--CLEAN--
-<?php unlink($tracefile); ?>
+<?php
+
+$tracefile = dirname(__FILE__) . '/trace.tmp';
+
+unlink($tracefile);
+
+?>
--EXPECTF--
bool(false)
resource(%d) of type (pgsql result)