mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-16 10:41:34 +03:00
Merge pull request #4769 from orion1024/curl-check-in-perl-tests
Adding CURL check in t6.pl
This commit is contained in:
commit
93e0d52dd3
1 changed files with 7 additions and 0 deletions
|
@ -31,6 +31,13 @@ use strict;
|
|||
|
||||
print "Hello, this is t6, a tester for csync with ownCloud.\n";
|
||||
|
||||
# Checking CURL is installed to avoid misleading errors later...
|
||||
system(("curl", "--help", ">", "/dev/null"));
|
||||
if ($? != 0) {
|
||||
print "CURL is needed for this script, aborting with error\n";
|
||||
exit 1;
|
||||
}
|
||||
|
||||
initTesting();
|
||||
|
||||
sub createPostUpdateScript($)
|
||||
|
|
Loading…
Reference in a new issue