Fix make testx on trunk
|Status:||Closed||Start date:||08 Jan 2015|
|Assignee:||Robin Mills||% Done:|
|Category:||testing||Estimated time:||10.00 hours|
When Tuan implemented "Cloud Ready" he used an AWS node to provide web/ssh/ftp services. That node had a one year license and no longer exists. So three test scripts need to be fixed. The scripts are:
And of course, make testx must pass on all supported platforms (Mac/Linux/Cygwin/MinGW/MSVC).
#1023 Fix getDataByRange CURLOPT_SSL_VERIFYHOST. Fix http-test.sh (and associated test/data/http-test.out).
#7 Updated by Robin Mills 12 months ago
- % Done changed from 10 to 40
r4883 added test/http-test.sh
I have updated the buildserver to support both HTTP and HTTPS by following this: https://github.com/hughperkins/howto-jenkins-ssl
The certificate is self-signed, which can cause curl to panic. You can calm curl's fears with the command:
$ curl --insecure -O https://exiv2.dyndns.org:8443/userContent/testfiles/webready/Reagan.jpgI'm not going to proceed to get ftp/sftp/ssh to work.
I don't intend to make the remote-io tests part of the standard test for the following reasons:
1) The default build does not use curl and therefore does not support HTTPS/SSH/SFTP.
2) These tests can be slow on a sluggish internet connection
I am not going to delete Tuan's tests because I know they work. I'll discuss it with him and see if we restore them to full health on the build server. However that discussion and subsequent action is not part of this issue.
#8 Updated by Robin Mills 12 months ago
- Status changed from Assigned to Closed
- % Done changed from 40 to 100
- Estimated time changed from 15.00 to 10.00
I'm not going to do any more work on this for v0.26. I'll talk to Tuan when I'm in Singapore and hopefully motivate him to do a little work on this in 2017.
I added test/http-test.sh to test http and https using the build server.