mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
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.
This commit is contained in:
parent
825eca078d
commit
1029f9521c
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue