[Pkg-owncloud-commits] [owncloud] 25/215: Delete temp files after testing encryption stream wrapper

David Prévot taffit at moszumanska.debian.org
Tue May 5 01:01:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit b88d0ba0ac9bb4b729eac5aa8bcadd0ff860dfbb
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Thu Apr 23 13:42:18 2015 +0200

    Delete temp files after testing encryption stream wrapper
---
 tests/lib/files/stream/encryption.php | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/lib/files/stream/encryption.php b/tests/lib/files/stream/encryption.php
index 25e7e54..1da2082 100644
--- a/tests/lib/files/stream/encryption.php
+++ b/tests/lib/files/stream/encryption.php
@@ -148,6 +148,8 @@ class Encryption extends \Test\TestCase {
 		$stream = $this->getStream($fileName, 'r', 6);
 		$this->assertEquals('foobar', fread($stream, 100));
 		fclose($stream);
+
+		unlink($fileName);
 	}
 
 	public function testSeek() {
@@ -161,6 +163,8 @@ class Encryption extends \Test\TestCase {
 		$stream = $this->getStream($fileName, 'r', 9);
 		$this->assertEquals('foofoobar', fread($stream, 100));
 		fclose($stream);
+
+		unlink($fileName);
 	}
 
 	function dataFilesProvider() {
@@ -198,6 +202,8 @@ class Encryption extends \Test\TestCase {
 		fclose($stream);
 
 		$this->assertEquals($expectedData, $data);
+
+		unlink($fileName);
 	}
 
 	/**

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list