Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/csync
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2014-11-11 18:37:30 +0300
committerOlivier Goffart <ogoffart@woboq.com>2014-11-11 18:38:20 +0300
commitb04cb23ed597f4b2d2ee9301e627f786b49e7ded (patch)
tree4e602c510238b04f98dc84704a3108c4e65a0d8f /csync
parentced986e01041270cecf781d5daa82e9dfdb5ea2f (diff)
t8.pl: fix the test for me
On localhost, the other file (the bigger one) was downloaded first
Diffstat (limited to 'csync')
-rwxr-xr-xcsync/tests/ownCloud/t8.pl7
1 files changed, 3 insertions, 4 deletions
diff --git a/csync/tests/ownCloud/t8.pl b/csync/tests/ownCloud/t8.pl
index 4851f75d6..1a0557d7f 100755
--- a/csync/tests/ownCloud/t8.pl
+++ b/csync/tests/ownCloud/t8.pl
@@ -127,10 +127,9 @@ glob_put( "$tmpdir2/*", "parallel" );
csync();
-# We assume the smaller file finished first, blocking
-# the second file from being saved.
-assert( !-e localDir() . 'parallel/FILE.dat' );
-assert( -e localDir() . 'parallel/file.dat' );
+# only one file must exist
+assert( (!-e localDir() . 'parallel/FILE.dat' ) or (!-e localDir() . 'parallel/file.dat') );
+assert( (-e localDir() . 'parallel/FILE.dat' ) or (-e localDir() . 'parallel/file.dat') );
cleanup();
system("rm -r " . $tmpdir);