1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 03:25:04 -05:00
curl/tests/libtest
Kamil Dudka b5c3feda17 NTLM tests: boost coverage by forcing the hostname
A shared library tests/libtest/.libs/lihostname.so is preloaded in NTLM
test-cases to override the system implementation of gethostname().  It
makes it possible to test the NTLM authentication for exact match, and
this way test the implementation of MD4 and DES.

If LD_PRELOAD doesn't work, a debug build willl also workk as debug
builds are now made to prefer a specific environment variable and will
then return that content as host name instead of the actual one.

Kamil wrote the bulk of this, Daniel Stenberg polished it.
2010-07-30 00:51:24 +02:00
..
.gitignore NTLM tests: boost coverage by forcing the hostname 2010-07-30 00:51:24 +02:00
chkhostname.c NTLM tests: boost coverage by forcing the hostname 2010-07-30 00:51:24 +02:00
CMakeLists.txt removed trailing whitespace 2010-02-14 19:40:18 +00:00
first.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
hostname.c NTLM tests: boost coverage by forcing the hostname 2010-07-30 00:51:24 +02:00
lib500.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib501.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib502.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib503.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib504.c Allow test 538 to run even when proxy support is disabled 2010-03-30 11:40:34 -07:00
lib505.c Eliminated an unlikely race condition in some tests. 2010-04-15 10:51:03 -07:00
lib506.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib507.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib508.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib510.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib511.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib512.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib513.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib514.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib515.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib516.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib517.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib518.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib519.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib520.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib521.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib523.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib524.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib525.c Eliminated an unlikely race condition in some tests. 2010-04-15 10:51:03 -07:00
lib526.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib530.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib533.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib536.c test536: do not fail with threaded DNS resolver 2010-04-24 12:14:21 +02:00
lib537.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib539.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib540.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib541.c Eliminated an unlikely race condition in some tests. 2010-04-15 10:51:03 -07:00
lib542.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib543.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib544.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib547.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib549.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib552.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib553.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib554.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib555.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib556.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib557.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib558.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib560.c Call curl_global_cleanup() in test 560 to avoid a memory leak 2010-03-30 12:52:44 -07:00
lib562.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib564.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib566.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib567.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib568.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib569.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib570.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib571.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
lib572.c remove debug printfs 2010-03-24 15:12:49 +01:00
lib573.c lib573: do not compare double for exact match 2010-05-27 20:20:08 +02:00
lib574.c FTP: WILDCARDMATCH/CHUNKING/FNMATCH added 2010-05-12 23:17:51 +02:00
lib575.c test575: do not fail with threaded DNS resolver 2010-06-17 17:07:15 +02:00
lib576.c fix compiler warning: external declaration in primary source file 2010-05-31 16:58:24 +02:00
lib577.c lib577: avoid redefinition of ERROR 2010-05-28 00:50:11 +02:00
Makefile.am NTLM tests: boost coverage by forcing the hostname 2010-07-30 00:51:24 +02:00
Makefile.inc NTLM tests: boost coverage by forcing the hostname 2010-07-30 00:51:24 +02:00
sethostname.c NTLM tests: boost coverage by forcing the hostname 2010-07-30 00:51:24 +02:00
test75.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test307.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test610.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test613.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test1013.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test1022.pl s/CVS/DEV in the version string from the git repo 2010-03-25 10:38:17 +01:00
test.h remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
testutil.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
testutil.h remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00