SSLproxy/tests/check
Soner Tari 206734e4b6 Return -1 on error from all configuration functions, never exit()
And use all those return values.

Since we support include files now, we should be able to report in which
include file the error has occured. This is not possible if functions
just bail out calling exit(), because the user has to scroll back stderr
lines to find which include file has failed loading (a line starting
with 'Conf: ').

Plus, calling exit() on errors reduces unit testability of functions.

Also, handle all possible out of memory conditions in opts.c.
2021-09-22 00:51:36 +03:00
..
engine Do not export vars to the shell, instead create a main.mk and include it when needed 2020-03-31 16:19:02 +03:00
pki Create make files for src and tests/check folders 2020-03-29 16:55:02 +03:00
base64.t.c Restructure source tree, create src and tests folders, move files accordingly 2020-03-27 14:28:08 +03:00
BSDmakefile Copy BSDmakefile to subfolders 2020-04-12 15:51:41 +03:00
cachedsess.t.c Create make files for src and tests/check folders 2020-03-29 16:55:02 +03:00
cachefkcrt.t.c Create make files for src and tests/check folders 2020-03-29 16:55:02 +03:00
cachemgr.t.c Restructure source tree, create src and tests folders, move files accordingly 2020-03-27 14:28:08 +03:00
cachessess.t.c Create make files for src and tests/check folders 2020-03-29 16:55:02 +03:00
cachetgcrt.t.c Create make files for src and tests/check folders 2020-03-29 16:55:02 +03:00
cert.t.c Create make files for src and tests/check folders 2020-03-29 16:55:02 +03:00
defaults.t.c Clean up DOCKER directives 2020-05-12 12:02:53 +03:00
dynbuf.t.c Create make files for src and tests/check folders 2020-03-29 16:55:02 +03:00
GNUmakefile Move main.mk under Mk folder and improve make files 2020-06-23 13:00:05 +03:00
logbuf.t.c Restructure source tree, create src and tests folders, move files accordingly 2020-03-27 14:28:08 +03:00
main.t.c Add check unit tests for protocol validation and util_get_first_word_len() 2020-05-13 21:24:08 +03:00
opts.t.c Return -1 on error from all configuration functions, never exit() 2021-09-22 00:51:36 +03:00
proto.t.c Update version to 0.8.3 and copyright year to 2021 2021-02-11 00:25:09 +03:00
pxythrmgr.t.c Restructure source tree, create src and tests folders, move files accordingly 2020-03-27 14:28:08 +03:00
ssl.t.c Create make files for src and tests/check folders 2020-03-29 16:55:02 +03:00
sys.t.c Create make files for src and tests/check folders 2020-03-29 16:55:02 +03:00
url.t.c Restructure source tree, create src and tests folders, move files accordingly 2020-03-27 14:28:08 +03:00
util.t.c Update version to 0.8.3 and copyright year to 2021 2021-02-11 00:25:09 +03:00