summaryrefslogtreecommitdiffstats
path: root/regress/lib/libutil (follow)
Commit message (Collapse)AuthorAgeFilesLines
* no need to declare "extern optarg" and "extern optind"schwarze2020-02-141-3/+1
| | | | | | when <unistd.h> is included; patch from Jan Stary <hans at stare dot cz>; OK millert
* The ber_* namespace is used by liblber since time immemorial,tb2019-10-242-99/+99
| | | | | | | | | | | | so move our BER API to the unused ober_* prefix to avoid some breakage in ports. Problem diagnosed by jmatthew with ber_free() in samba, but there are many others as pointed out by sthen. tests & ok rob ok sthen (who had an almost identical diff for libutil) "go head hit it" deraadt
* Correct spelling in comment.rob2019-09-181-2/+2
|
* Add test case for ber_scanf_elements.rob2019-08-141-1/+48
| | | | Significant tweak by and ok martijn@
* Update regression test for a maximum sizeof(int32_t) length octets.rob2019-06-011-8/+6
|
* Fix edge case tests in long form encoding. Regress failure noticed by Bluhm onrob2019-05-311-5/+5
| | | | 32 bit platforms.
* Hookup ber regress.rob2019-05-131-2/+2
| | | | ok bluhm@
* Add an enum test. Modify some output.rob2019-05-121-2/+11
|
* Use .OBJDIR.rob2019-05-121-3/+3
|
* Remove a now obsolete comment about BITSTRING.rob2019-05-121-6/+1
|
* Add test cases for enum, and an additional test for null.rob2019-05-121-1/+47
|
* Test mandatory use of minimal contents octets for int and enum.rob2019-05-121-1/+10
|
* Add some more edge case tests.rob2019-05-101-9/+27
|
* Tweak; work in progress.rob2019-04-271-2/+5
|
* Tweak tests; work in progress.rob2019-04-271-59/+308
|
* Use REGRESS_TARGETS et al.rob2019-04-271-4/+10
|
* Add test, update comments, and modify some output.rob2019-04-271-15/+27
|
* Fix comment regarding suspected problem when handling large negative integers.rob2019-04-271-2/+2
|
* Tweak previous.rob2019-04-271-7/+15
|
* Regress testing for int (long long). Two's complement is eating my brain.rob2019-04-271-0/+469
|
* Fix white space and add an snmp test.rob2019-03-311-6/+13
|
* Tweak ldap related tests.rob2019-03-311-36/+58
|
* Tweak output and correct a comment.rob2019-03-271-3/+3
|
* Modify a test to stress embedded ber elements in ber_printf_elements(). Alsorob2019-03-271-11/+20
| | | | cleanup some output.
* Replace "garbage" test with an explicit test of an incorrect length (i.e. notrob2019-03-271-4/+4
| | | | enough data). Expects a failure (with errno = ECANCELED).
* Check errno on expected failures. Also fix some output wording.rob2019-03-271-3/+4
|
* Only perform position and memory checks on short form encoding (i.e. shortrob2019-03-271-10/+43
| | | | | form tagging and short form length encoding). Add two tests for long form length encoding.
* Cleanup output and main return code.rob2019-03-271-23/+14
|
* Fix white space.rob2019-03-261-5/+5
|
* Add ber api regress. Assumes that ber has been built into libutil.rob2019-03-262-0/+602
| | | | Not hooked up to the build.
* Enable tests for +/-LLONG_MAX and add tests for other boundary conditions.dtucker2017-03-161-6/+19
| | | | ok millert@
* Add tests for scaled overflow and underflow and the exact overflow anddtucker2017-03-151-3/+44
| | | | | underflow boundaries for 64bit platforms. Tests for exactly under the boundaries disabled pending fixes. ok millert@ djm@ (previous version).
* Clean up errno handling in fmt_scaled test:dtucker2017-03-151-13/+9
| | | | | | | | | - always clear before calling function under test. - save immediately after function under test. - always use saved value for validation and reporting. - remove "fraction too big" testcase that never atually worked (but looked like it did because the previous test's errno was never cleared). - delete unecessary "extern int errno".
* Add missing includes to avoid implicit function declarations.jsg2017-02-251-1/+2
|
* Convert quad_t to long longguenther2016-08-141-8/+8
|
* guenther wants a copyrighttedu2014-08-101-0/+17
|
* Only need <stdint.h> and not all of <inttypes.h> hereguenther2014-08-101-1/+1
|
* add a test for writing too fartedu2014-04-081-0/+9
|
* updated regress values from djmtedu2013-07-291-31/+31
|
* link subdirtedu2013-06-042-3/+3
|
* missed a space in the latin passphrase.tedu2013-06-041-3/+3
|
* tests for bcrypt_pbkdf_test.ctedu2013-06-042-0/+136
|
* require scan_scaled to set errno to EINVAL rather than ERANGE if ithalex2012-11-121-3/+4
| | | | | | encounters an invalid multiplier, like the man page says it should "looks sensible" deraadt@, ok ian@
* Move the commented out test program in pkcs5_pbkdf2.c into a propermatthew2012-09-063-2/+154
| | | | regress test.
* Repair comment ID & typo, no binary changeian2009-06-201-5/+5
|
* bullshit test; pointed out by davidderaadt2005-10-211-2/+0
|
* Now that rounding is done properly for fractionless numbers, fix theotto2005-03-091-4/+6
| | | | regression cases and add a few too.
* Some more real-life regression cases.otto2005-03-081-0/+3
|
* new regression found in the wild: 1099512676352 -> 2.0T; fixed a minute ago.otto2004-09-161-0/+1
|
* errno -> err in a structure. OK deraadt@david2004-07-161-8/+8
|