[Pkg-owncloud-commits] [owncloud-client] 30/69: tests: exit t5.pl if running against ownCloud 6
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri Nov 7 19:41:08 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 1029f9521c93fc6bd4a066d0e8f8f447d02b68a5
Author: Klaas Freitag <freitag at owncloud.com>
Date: Wed Oct 29 14:24:36 2014 +0100
tests: exit t5.pl if running against ownCloud 6
t5.pl checks the environment variable SERVER_VERSION and if that equals
"owncloud6" it bails out after a check of the sharing ocs api.
---
csync/tests/ownCloud/t5.pl | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/csync/tests/ownCloud/t5.pl b/csync/tests/ownCloud/t5.pl
index 32544cb..d142478 100755
--- a/csync/tests/ownCloud/t5.pl
+++ b/csync/tests/ownCloud/t5.pl
@@ -51,6 +51,11 @@ print "Created share with id <$shareId>\n";
assert( $shareId > 0 );
+if( $ENV{SERVER_VERSION} eq "owncloud6" ) {
+ print "This test does not make more sense for ownCloud6, leaving for good!\n\n";
+ exit;
+}
+
# put a couple of files into the shared directory in the sharer account
glob_put( 'sharing/*', $share_dir, $sharee);
@@ -62,7 +67,6 @@ moveRemoteFile( server() . $share_dir, localDir(), 1 );
printInfo("Initial sync, sync stuff down.");
csync();
-
assertLocalAndRemoteDir( '', 0 );
# Local file to a read/write share should be synced up
--
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