diff options
author | Matteo Beccati <mbeccati@php.net> | 2013-06-02 13:38:43 +0200 |
---|---|---|
committer | Matteo Beccati <mbeccati@php.net> | 2013-06-02 13:38:43 +0200 |
commit | 2463e8979470a8e61b17c28ae8f8f1dad63f856f (patch) | |
tree | ac68282fd9c44ca239452193e24eca01634cfe3e /ext/pdo_pgsql | |
parent | 25aae37229a439109c020150d0f496ef4a237ecd (diff) | |
download | php-git-2463e8979470a8e61b17c28ae8f8f1dad63f856f.tar.gz |
Clean up leftover test files
Diffstat (limited to 'ext/pdo_pgsql')
-rw-r--r-- | ext/pdo_pgsql/tests/copy_from.phpt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/pdo_pgsql/tests/copy_from.phpt b/ext/pdo_pgsql/tests/copy_from.phpt index 2858905d0c..10967b0fe9 100644 --- a/ext/pdo_pgsql/tests/copy_from.phpt +++ b/ext/pdo_pgsql/tests/copy_from.phpt @@ -110,8 +110,10 @@ $db->rollback(); echo "Exception! at line ", $e->getLine(), "\n"; var_dump($e->getMessage()); } -if(isset($filename)) { - @unlink($filename); + +// Clean up +foreach (array($filename, $filenameWithDifferentNullValues, $filenameWithDifferentNullValuesAndSelectedFields) as $f) { + @unlink($f); } ?> --EXPECT-- @@ -383,4 +385,4 @@ array(6) { NULL } Testing pgsqlCopyFromFile() with error -bool(false)
\ No newline at end of file +bool(false) |