Commits
- Commit:
91971201e545529098ac2b9bc374a383a637e28f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
break out if check_reply fails
it's not a problem when we have only one check_reply at then end,
since $? is kept across function boundaries, but when we have multiple
checks we need to quit on the first error.
- Commit:
fb1212266f366f457b0c142869b8095213fc5b96
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add tests for the type block
- Commit:
901905e0cf0f5f141461df7ea199711ea951c919
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bail out of client_read if we've already decide what to do
libevent2 can still somehowe call client_read even in code paths
that never enable reading from the evbuffer. Can't reproduce on
the libevent in base on OpenBSD. It's a bit ugly, but it's a small
workaround for something that otherwise *always* make gmid crash
when linked against libevent2. (client_read works under the
assumption that c->host != NULL, matched_proxy crashes otherwise.)
- Commit:
92a9f41d3d4633cc8afbcef12d2dbd3743ac300d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add set_proxy to simplify testing + more checks in test_proxy_with_certs
- Commit:
e19f21f5a65dab4520d10f600df86ec36e80ec22
- From:
- Omar Polo <op@omarpolo.com>
- Date:
parethesize `proxy', I'm about to change the syntax
- Commit:
c064f3de1d3eac4784f185dce4ddf029e0429ead
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add proxying with client certificate test
- Commit:
e6ab6b25fce38c8f1d700becea395ae41ced1555
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo
- Commit:
4b5b1e82a9459f7b4c11a31da4409c5b527730e8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add a test for the `proxy relay-to' rule
- Commit:
a721c233eee67c9abb8843727b0ca0b5a2a4cbd7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename variable
- Commit:
5741561d57b730905d1bcfddf88d52307bad2a42
- From:
- Omar Polo <op@omarpolo.com>
- Date:
run all kinds of tests via tests.sh/runtime
while there also change the dependency in the makefile: iri_test should
be alone, not as deps of `data'.
- Commit:
6e0f14d51ef1971893bb094c873ddde86d0cae61
- From:
- Omar Polo <op@omarpolo.com>
- Date:
re-add sha script; it's used in the Makefile
While there, use it in the tests too
- Commit:
176179b2a9e99af595892c396a219c2bc11fb6c9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rework the regression suite
The tests are still there, the suite is equivalent to the old one, but
this one is better structured.
The biggest annoyance I had with the old one was that it wasn't
straightforward to test only a specific set of tests. It's still
impossible, but it's way easier to do it now.
This extract all the tests to their own functions. It's overall
better in all possible regards.