Commit Graph

22 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 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 a23899513d Remove trailing whitespace 2014-06-01 08:46:54 +02:00
Erik Ekman 388afe3845 Update copyright 2014-06-01 08:46:54 +02:00
Erik Ekman f11328306d Fix unused variable warnings in test cases 2014-01-29 22:41:24 +01:00
Erik Ekman d9d4c1dba6 Remove checks that cannot fail 2012-02-12 10:39:46 +01:00
Erik Ekman 444299b86e #51 handle one block encode/decode for base32 2012-02-04 20:34:00 +01:00
Erik Ekman 3ee49377e8 Extended test cases 2012-02-04 20:34:00 +01:00
Erik Ekman 7b76616015 Happy new year 2012-02-04 20:33:59 +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 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 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
Bjorn Andersson b135525c4f fixed memleak in tests 2007-01-28 02:04:16 +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 0f0c81e2cc first step in work towards check unit tests 2006-12-16 00:09:16 +00:00