[Pkg-owncloud-commits] [owncloud-client] 314/333: Fix info print in test script.

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Apr 17 23:17:09 UTC 2014


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

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 8ed0fdcfa509809a1d1e27dab1e71c85c9515e6a
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Mon Apr 7 16:36:35 2014 +0200

    Fix info print in test script.
---
 csync/tests/ownCloud/t6.pl | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/csync/tests/ownCloud/t6.pl b/csync/tests/ownCloud/t6.pl
index cff0d24..6e8f31b 100755
--- a/csync/tests/ownCloud/t6.pl
+++ b/csync/tests/ownCloud/t6.pl
@@ -60,21 +60,31 @@ sub chunkFileTest( $$ )
     unlink( $ctrlFile );
 }
 
+printInfo("Big file that needs chunking with default chunk size");
 chunkFileTest( "BIG.file", 23251233 );
 
  # Set a custom chunk size in environment.
 my $ChunkSize = 1*1024*1024;
 $ENV{'OWNCLOUD_CHUNK_SIZE'} = $ChunkSize;
 
+printInfo("Big file exactly as big as one chunk size");
 chunkFileTest( "oneChunkSize.bin", $ChunkSize);
+
+printInfo("Big file exactly as big as one chunk size minus 1 byte");
 chunkFileTest( "oneChunkSizeminusone.bin", $ChunkSize-1);
+
+printInfo("Big file exactly as big as one chunk size plus 1 byte");
 chunkFileTest( "oneChunkSizeplusone.bin", $ChunkSize+1);
 
+printInfo("Big file exactly as big as 2*chunk size");
 chunkFileTest( "twoChunkSize.bin", 2*$ChunkSize);
+
+printInfo("Big file exactly as big as 2*chunk size minus 1 byte");
 chunkFileTest( "twoChunkSizeminusone.bin", 2*$ChunkSize-1);
+
+printInfo("Big file exactly as big as 2*chunk size plus 1 byte");
 chunkFileTest( "twoChunkSizeplusone.bin", 2*$ChunkSize+1);
 
-printInfo("Big file exactly as big as one chunk size");
 
 # ==================================================================
 

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



More information about the Pkg-owncloud-commits mailing list