[Pkg-owncloud-commits] [owncloud-client] 279/333: Minor cleanup

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Apr 17 23:17:04 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 cba160706ab0344a05ec2aa2ef44bbefb2670994
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Tue Apr 1 16:14:12 2014 +0200

    Minor cleanup
---
 csync/tests/ownCloud/t5.pl | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/csync/tests/ownCloud/t5.pl b/csync/tests/ownCloud/t5.pl
index f7a32bf..23ed183 100755
--- a/csync/tests/ownCloud/t5.pl
+++ b/csync/tests/ownCloud/t5.pl
@@ -42,10 +42,11 @@ print "Created share with id <$shareId>\n";
 
 assert( $shareId > 0 );
 
+my $sharee = { user => configValue('share_user'),
+               passwd => configValue('share_passwd'),
+	       url => server() };
 # put a couple of files into the shared directory in the sharer account
-glob_put( 'sharing/*', $share_dir, { user => configValue('share_user'),
-				     passwd => configValue('share_passwd'),
-				     url => server() });
+glob_put( 'sharing/*', $share_dir, $sharee);
 
 # now user kf has a new directory in shared.
 
@@ -54,11 +55,13 @@ printInfo("Initial sync, sync stuff down.");
 csync( server()."Shared" );
 assertLocalAndRemoteDir( 'Shared', 0, server() );
 
+# Local file to a read/write share should be synced up
 printInfo("Put a file into the share.");
 createLocalFile( localDir(). $share_dir . "/foobar.txt", 8094 );
 csync( server()."Shared" );
 assertLocalAndRemoteDir( 'Shared', 0, server() );
 
+
 printInfo("Remove a Share.");
 removeShare($shareId, $share_dir);
 cleanup();

-- 
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