[Pkg-owncloud-commits] [owncloud-client] 187/332: t1.pl: Change the corruption creation command.

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Aug 14 21:06:58 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 9dacad99fa9f4d368f5fdb7fa1f813ff64779321
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Thu Jul 10 12:07:28 2014 +0200

    t1.pl: Change the corruption creation command.
---
 csync/tests/ownCloud/t1.pl | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/csync/tests/ownCloud/t1.pl b/csync/tests/ownCloud/t1.pl
index 3e2ade5..635e1f6 100755
--- a/csync/tests/ownCloud/t1.pl
+++ b/csync/tests/ownCloud/t1.pl
@@ -123,9 +123,10 @@ assertLocalAndRemoteDir( '', 0);
 
 # The previous sync should have updated the etags, and this should NOT be a conflict
 printInfo( "Update the file again");
-system("sleep 1");
-system("echo more data >> " .  localDir() . "remoteToLocal1/kernelcrash.txt");
-system("echo corruption >> " .  localDir() . "remoteToLocal1/kraft_logo.gif");
+my $cmd = "sleep 2 && echo more data >> ". localDir() . "remoteToLocal1/kernelcrash.txt";
+$cmd .= " && echo corruption >> " . localDir(). "remoteToLocal1/kraft_logo.gif";
+
+system($cmd);
 csync( );
 assertLocalAndRemoteDir( '', 0);
 

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