djm@openbsd.org
78e30af3e2
upstream: test argv_split() optional termination on comments
...
OpenBSD-Regress-ID: 9fd1c4a27a409897437c010cfd79c54b639a059c
2021-06-08 17:41:56 +10:00
djm@openbsd.org
1a4d1da918
upstream: fix memleak in test
...
OpenBSD-Regress-ID: 5e529d0982aa04666604936df43242e97a7a6f81
2021-06-01 14:38:41 +10:00
djm@openbsd.org
60455a5d98
upstream: also check contents of remaining string
...
OpenBSD-Regress-ID: d526fa07253f4eebbc7d6205a0ab3d491ec71a28
2021-06-01 14:38:41 +10:00
djm@openbsd.org
39f6cd2078
upstream: unit test for misc.c:strdelim() that mostly servces to
...
highlight its inconsistencies
OpenBSD-Regress-ID: 8d2bf970fcc01ccc6e36a5065f89b9c7fa934195
2021-06-01 14:38:41 +10:00
dtucker@openbsd.org
679bdc4a5c
upstream: Don't check return value of unsetenv(). It's part of the
...
environment setup and not part of the actual test, and some platforms
-portable runs on declare it as returning void, which prevents the test from
compiling.
OpenBSD-Regress-ID: 24f08543ee3cdebc404f2951f3e388cc82b844a1
2021-04-06 19:31:18 +10:00
Damien Miller
f3ca8af87a
enable authopt and misc unit tests
...
Neither were wired into the build, both required some build
adaptations for -portable
2021-04-03 18:21:08 +11:00
Damien Miller
f75bcbba58
missing bits from 259d648e
2021-04-03 16:22:48 +11:00
djm@openbsd.org
259d648e63
upstream: add a test for misc.c:argv_split(), currently fails
...
OpenBSD-Regress-ID: ad6b96d6ebeb9643b698b3575bdd6f78bb144200
2021-04-01 09:22:53 +11:00
djm@openbsd.org
473ddfc2d6
upstream: split
...
OpenBSD-Regress-ID: f6c03c0e4c58b3b9e04b161757b8c10dc8378c34
2021-04-01 09:22:31 +11:00
dtucker@openbsd.org
a8e798feab
upstream: Change types in convtime() unit test to int to match change
...
its new type. Add tests for boundary conditions and fix convtime to work up
to INT_MAX. ok djm@
OpenBSD-Regress-ID: ba2b81e9a3257fff204b020affe85b604a44f97e
2021-01-18 18:44:03 +11:00
dtucker@openbsd.org
b08ef25552
upstream: Update unittests for addr.c/addrmatch.c split.
...
OpenBSD-Regress-ID: de2b415fb7af084a91c6ef147a90482d8f771eef
2021-01-11 15:24:31 +11:00
djm@openbsd.org
bf7eb3c266
upstream: few more things needs match.c and addrmatch.c now that
...
log.c calls match_pattern_list()
OpenBSD-Regress-ID: f7c95c76b150d0aeb00a67858b9579b7d1b2db74
2020-12-21 14:04:08 +11:00
Darren Tucker
2c64f24e27
Pull in missing rev 1.2.
2020-12-21 14:02:56 +11:00
dtucker@openbsd.org
058674a62f
upstream: Add regression and unit tests for ${ENV} style
...
environment variable expansion in various keywords (bz#3140). ok djm@
OpenBSD-Regress-ID: 4d9ceb95d89365b7b674bc26cf064c15a5bbb197
2020-05-29 15:48:15 +10:00
dtucker@openbsd.org
0b15892fc4
upstream: Unit test for convtime. ok djm@
...
OpenBSD-Regress-ID: cec4239efa2fc4c7062064f07a847e1cbdbcd5dd
2020-05-29 15:48:10 +10:00
Damien Miller
f4fdcd2b7a
Missing unit test files
2019-11-01 08:36:16 +11:00