Commit graph

113 commits

Author SHA1 Message Date
Erik Ekman dc17bc69fe #40, fix dots in hostname when length is 113, 170, 227... Includes test. 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 c7fa4ddde2 Assign client IPs within the network (fixes #28), also limit number of users depending on netmask (for #27) 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 7fafac62e7 update tests after inline dot function now uses 57 as distance 2012-02-04 20:33:58 +01:00
Erik Ekman 2c4c5ec1ba Added simple 5bits to 8 and reverse encoder, with test 2012-02-04 20:33:58 +01:00
Erik Ekman 7eb7c02e5f Updated encoding tests 2012-02-04 20:33:58 +01:00
Erik Ekman e7fdb0a5f5 Reverted [686], [689] and [692]. SSH login now works again. Increased version. 2012-02-04 20:33:58 +01:00
Erik Ekman 612d142819 Print failed tests 2012-02-04 20:33:58 +01:00
Erik Ekman 33c1efb9ca Base64 codec now uses + as 64th char 2012-02-04 20:33:58 +01:00
Erik Ekman 3fc9eaeaa3 Improved latency for traffic initiated from server 2012-02-04 20:33:57 +01:00
Erik Ekman 06f60e2a3b Removed needless va_str() 2012-02-04 20:33:57 +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 70d4843166 Fix tests, dotting does not spare a char anymore 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 91178e7066 Init variables, fix #26 2012-02-04 20:33:55 +01:00
Erik Ekman ba8f2cfac1 base64 impl now escapes dots. does not really respect buflen 2007-06-10 18:55:18 +00:00
Erik Ekman bacb0d2bfb Add 2007 in tests 2007-06-09 18:15:29 +00:00
Erik Ekman 1173bf2c8e added base64 test in header 2007-06-09 17:52:02 +00:00
Erik Ekman 7c53be08c0 added base64 codec 2007-06-09 17:49:19 +00:00
Erik Ekman 1e7486bdd2 make sure len is always correct 2007-06-09 17:48:28 +00:00
Erik Ekman 019fb51ee6 Fixed tests after #6 api changes 2007-06-09 16:57:33 +00:00
Erik Ekman 3341f3c268 Additional checks 2007-02-11 15:04:44 +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 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 a8127f410c #3 updated encoding testcase to new usage 2007-02-08 20:42:24 +00:00
Erik Ekman c58df44dc6 Reverting unintended commit 2007-02-05 19:47:03 +00:00
Erik Ekman 9355cd7829 #10 fixed basic ack. pings bigger than 110 still lost 2007-02-05 19:44:46 +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 a78b85fbf2 Fix signedness warnings 2007-01-28 13:05:16 +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 2a860e3528 Added login hash test 2007-01-28 04:01:20 +00:00
Erik Ekman d0fdda8b5f Added login hash test 2007-01-28 04:01:10 +00:00
Bjorn Andersson 7c223c2987 modified timeout-check to work with older versions of check 2007-01-28 03:43:51 +00:00
Erik Ekman 0aa665c0e3 Check that the buffer is intact 2007-01-28 03:35:24 +00:00
Erik Ekman 22c66af914 More dns tests 2007-01-28 03:28:02 +00:00
Erik Ekman 10a8c6711c Cleanup 2007-01-28 03:15:45 +00:00
Erik Ekman 97727402b0 Removed old tests 2007-01-28 03:13:06 +00:00
Erik Ekman 5b149413cb Use CC/LD 2007-01-28 03:08:31 +00:00
Bjorn Andersson 19a0b9a382 fixed interval in read testcase, handles check without timeout 2007-01-28 03:05:43 +00:00
Bjorn Andersson 8babf3f1a6 put/getlong fixed 2007-01-28 02:52:19 +00:00
Erik Ekman 7368bcaff7 Set timeout on testcase to avoid killing 2007-01-28 02:50:59 +00:00
Erik Ekman 981204682f Lowercase suite name 2007-01-28 02:11:10 +00:00
Bjorn Andersson b135525c4f fixed memleak in tests 2007-01-28 02:04:16 +00:00
Bjorn Andersson 0c8e398941 base32 now correct and test cleanup 2007-01-28 01:07:51 +00:00
Bjorn Andersson ec1ed45793 removed possible segfault in the test-code 2007-01-27 16:32:44 +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
Bjorn Andersson 1f740de4aa moving files to src and tests, tests disabled 2006-11-09 19:08:28 +00:00