Commit Graph

32 Commits

Author SHA1 Message Date
Erik Ekman 3c7169fcf5 Change formatter for size_t from %d to %zu in tests 2021-06-05 14:47:24 +02:00
Erik Ekman 13d081f5ed Convert fail_unless to ck_assert[_msg]
To work with check 0.15.0

Add == 0 to change fail_if to asserts as well.
2020-07-23 22:31:53 +02:00
Ralf Ramsauer 8d4b43e178 Update tests to latest changes
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
[Erik Ekman: reverted login test changes]
2017-04-10 21:25:42 +02:00
Erik Ekman 9a45c4aa66 Change license wording to follow ISC license exactly
"Permission to use, copy, modify, and distribute this software" is now
"Permission to use, copy, modify, and/or distribute this software".

Add license header to source files missing one.
2014-08-07 21:18:33 +02:00
Erik Ekman 388afe3845 Update copyright 2014-06-01 08:46:54 +02:00
Erik Ekman 031953e295 Fix testcase compile error on OS X 10.6+, take 2
Add includes for Darwin in another test file
2014-04-22 22:43:25 +02:00
Erik Ekman b0e41e82e4 Fix gcc warning -Wsizeof-pointer-memaccess in test 2014-01-29 22:38:35 +01:00
Erik Ekman 8f2c210019 Fix segfault in test for BSDs 2012-02-04 20:34:04 +01:00
Erik Ekman 5951166b36 Fix data length in encoding dns queries 2012-02-04 20:34:04 +01:00
Erik Ekman b6fc3fc0ef Made dns_get_id return unsigned short, added test cases 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 7b76616015 Happy new year 2012-02-04 20:33:59 +01:00
Erik Ekman 62824e92ed Handle trans id >= 0x8000, fix bug #37 2012-02-04 20:33:58 +01:00
Erik Ekman 06f60e2a3b Removed needless va_str() 2012-02-04 20:33:57 +01:00
Erik Ekman bacb0d2bfb Add 2007 in tests 2007-06-09 18:15:29 +00:00
Erik Ekman 019fb51ee6 Fixed tests after #6 api changes 2007-06-09 16:57:33 +00:00
Erik Ekman 7ea80349f5 Use -pedantic in tests, fixed all warnings 2007-02-11 14:07:26 +00:00
Erik Ekman 05927b97e4 Fix testcases after refactoring 2007-02-11 01:46:45 +00:00
Erik Ekman 71e9359ed0 #3 fixed last test, added A char 2007-02-08 21:10:46 +00:00
Erik Ekman 79f9940b83 #3 fixed decode query test 2007-02-08 20:53:37 +00:00
Erik Ekman da636b1f47 #3 fix issue with topdomain. Also make sure ping packet is type NULL 2007-02-04 23:08:09 +00:00
Erik Ekman 0fd3d9e62e #3 Make testcases compile. They still need to be adjusted to the new way of working 2007-02-04 22:11:00 +00:00
Erik Ekman 1deab43f13 #4 make tests pass as well 2007-02-04 15:28:24 +00:00
Erik Ekman 3e52c974bc Empty buffer before writing, added packet dump function 2007-01-28 13:32:41 +00:00
Erik Ekman 1a46808b8a Rework query testcase, some dns cleanup 2007-01-28 11:52:36 +00:00
Erik Ekman 89c99f1ddf Use dns_decode for packets from client 2007-01-28 06:47:51 +00:00
Erik Ekman d1c36f3db4 Added dns_decode test for response 2007-01-28 06:11:54 +00:00
Erik Ekman 82c634619c Add testcase for dns_encode on answers 2007-01-28 05:57:44 +00:00
Erik Ekman d1ffedae43 Added test on dns_encode 2007-01-28 05:37:13 +00:00
Erik Ekman 22c66af914 More dns tests 2007-01-28 03:28:02 +00:00
Bjorn Andersson dc34d6edee all old tests have been ported to check 2006-12-16 00:42:13 +00:00