[Pkg-owncloud-commits] [owncloud-client] 187/211: csync tests: add some debug code to get behind the jenkins fails.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:43 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 114c38c1ff47d2633fb134b793b2663cb6f64567
Author: Klaas Freitag <freitag at owncloud.com>
Date: Thu Oct 23 17:33:18 2014 +0200
csync tests: add some debug code to get behind the jenkins fails.
---
csync/tests/ownCloud/t1.pl | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/csync/tests/ownCloud/t1.pl b/csync/tests/ownCloud/t1.pl
index ee73dce..f28540c 100755
--- a/csync/tests/ownCloud/t1.pl
+++ b/csync/tests/ownCloud/t1.pl
@@ -122,8 +122,24 @@ assertLocalAndRemoteDir( '', 0);
# The previous sync should have updated the etags, and this should NOT be a conflict
printInfo( "Update the file again");
-createLocalFile( localDir() . "remoteToLocal1/kernelcrash.txt", 2136 );
-createLocalFile( localDir() . "remoteToLocal1/kraft_logo.gif", 2332 );
+
+my $f1 = localDir() . "remoteToLocal1/kernelcrash.txt";
+my $s1 = 2136;
+createLocalFile( $f1, $s1);
+
+# stat the file
+my @stat1 = stat $f1;
+print "Updating File $f1 to $s1, size is $stat1[7]\n";
+
+
+my $f2 = localDir() . "remoteToLocal1/kraft_logo.gif";
+my $s2 = 2332;
+
+createLocalFile( $f2, $s2);
+# stat the file
+my @stat2 = stat $f2;
+print "Updating File $f2 to $s2, size is $stat2[7]\n";
+
system( "sleep 2 && touch " . localDir() . "remoteToLocal1/kernelcrash.txt" );
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