~ubuntu-branches/ubuntu/utopic/curl/utopic-security

« back to all changes in this revision

Viewing changes to tests/unit/unit1397.c

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2014-07-11 14:37:53 UTC
  • mfrom: (3.4.48 sid)
  • Revision ID: package-import@ubuntu.com-20140711143753-bdg0abifs1fa2wk1
Tags: 7.37.0-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from binary package Depends.
  - Add new libcurl3-udeb package.
  - Add new curl-udeb package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
UNITTEST_START
16
16
 
 
17
/* only these backends define the tested functions */
 
18
#if defined(USE_SSLEAY) || defined(USE_AXTLS) || defined(USE_QSOSSL) || \
 
19
    defined(USE_GSKIT)
 
20
 
17
21
  /* here you start doing things and checking that the results are good */
18
22
 
19
23
fail_unless( Curl_cert_hostcheck("www.example.com", "www.example.com"), "good 1" );
41
45
fail_unless( Curl_cert_hostcheck("fe80::3285:a9ff:fe46:b619", "fe80::3285:a9ff:fe46:b619"), "good 6" );
42
46
#endif
43
47
 
 
48
#endif
 
49
 
44
50
  /* you end the test code like this: */
45
51
 
46
52
UNITTEST_STOP