Commit Graph

25 Commits

Author SHA1 Message Date
frekky
ad4aa69be1 Make user.c independent of server for tests, add util.o to testobjs 2016-01-09 22:36:34 +08:00
frekky
e7119da507 Added sliding window test 2015-08-28 14:59:55 +08:00
Erik Ekman
a23899513d Remove trailing whitespace 2014-06-01 08:46:54 +02:00
Erik Ekman
d6c3426b84 Set C standard to C99
Also include strings.h where strcasecmp() is used
2014-05-29 18:38:43 +02:00
Erik Ekman
b3f8e7118a Do not set CC in tests 2014-05-29 17:41:43 +02:00
Erik Ekman
f249ee3b5d Run osflags for compile/link of tests as well
src/common.c is linked into test binary, might require some libs
2014-02-07 23:12:51 +01:00
Erik Ekman
d57aebacdc Add some tests for get_addr/format_addr
IPv4 only for now for compatibility with old machines
2014-02-07 23:08:29 +01:00
Erik Ekman
46a3d82639 Use pkg-config to find needed libs for check.
Also add -lpthread explicitly
2014-01-29 22:12:16 +01:00
Erik Ekman
1cdba385ef Added tests on forwarded query cache 2012-02-04 20:34:00 +01:00
Erik Ekman
0836ad0a5b revert cygwin stuff 2012-02-04 20:34:00 +01:00
Erik Ekman
97bf71e944 Make it build and fix tests in cygwin 2012-02-04 20:33:59 +01:00
Erik Ekman
3ba81894fc add osflags for tests 2012-02-04 20:33:59 +01:00
Erik Ekman
c164b8ea54 allow custom check path 2012-02-04 20:33:59 +01:00
Erik Ekman
07e98f181c reverting the code after 0.4.1, except for some patches 2012-02-04 20:33:56 +01:00
Erik Ekman
124c83b7f5 Link test with packet 2012-02-04 20:33:56 +01:00
Erik Ekman
1e7486bdd2 make sure len is always correct 2007-06-09 17:48:28 +00:00
Erik Ekman
68c4233f9b Added test on user handling methods 2007-02-11 14:39:43 +00:00
Erik Ekman
7ea80349f5 Use -pedantic in tests, fixed all warnings 2007-02-11 14:07:26 +00:00
Erik Ekman
d0fdda8b5f Added login hash test 2007-01-28 04:01:10 +00:00
Erik Ekman
10a8c6711c Cleanup 2007-01-28 03:15:45 +00:00
Erik Ekman
5b149413cb Use CC/LD 2007-01-28 03:08:31 +00:00
Bjorn Andersson
dc34d6edee all old tests have been ported to check 2006-12-16 00:42:13 +00:00
Bjorn Andersson
9ccbd4bc88 added tests for putshort, putlong and readname 2006-12-16 00:29:24 +00:00
Bjorn Andersson
0f0c81e2cc first step in work towards check unit tests 2006-12-16 00:09:16 +00:00
Erik Ekman
8b81909b5b Fixed tests 2006-11-18 13:37:37 +00:00