Commit Graph

23 Commits

Author SHA1 Message Date
Erik Ekman f09dadb1ed test: Replace assert_msg(strcmp(),...) with str_eq
str_eq will print the strings in case of failure:

Assertion '"BB." == buf' failed: "BB." == "BB.", buf == "BA."
2021-08-24 23:10:26 +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
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 2466cd184a Change readshort() to work with unsigned values 2014-06-09 19:47:44 +02:00
Erik Ekman 388afe3845 Update copyright 2014-06-01 08:46:54 +02:00
Erik Ekman 4aa078ddd9 Fix testcase compile error on OS X 10.6+
Apply old fix from ticket #79 also to test code.
2014-04-22 22:24:11 +02:00
Erik Ekman 9ee78b6f4d Fix some warnings in read tests 2014-01-29 21:22:58 +01:00
Erik Ekman 95513517ee refactored tests 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 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 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 1deab43f13 #4 make tests pass as well 2007-02-04 15:28:24 +00:00
Erik Ekman a78b85fbf2 Fix signedness warnings 2007-01-28 13:05:16 +00:00
Erik Ekman 0aa665c0e3 Check that the buffer is intact 2007-01-28 03:35:24 +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
Bjorn Andersson 0c8e398941 base32 now correct and test cleanup 2007-01-28 01:07:51 +00:00
Bjorn Andersson 9ccbd4bc88 added tests for putshort, putlong and readname 2006-12-16 00:29:24 +00:00