# file : tests/basic/testscript # license : cURL License; see accompanying COPYING file : http : $* 'http://www.example.com' >>~%EOO% %.+ EOO : https : : Test that an HTTPS URL is queried successfully via the system SSL backend : on Windows and MacOS/Clang and fails for other targets that use the OpenSSL : backend by default. : if ($c.target.class == 'windows' || \ $c.target.class == 'macos' && $c.id == 'clang-apple') { $* 'https://www.example.com' >>~%EOO% %.+ EOO } else { $* 'https://www.example.com' 2>~'%failed to request .+%' != 0 }