Omar Polo
99f1fbb0c7
regress: use -P with an absolute path
2023-06-08 13:56:09 +00:00
Omar Polo
0ac785a6fa
revert aae8f6bf2b
...
it's just not worth it to inflict this breaking change to the users.
2023-06-05 20:35:12 +00:00
Omar Polo
534afd0ddc
make the various strings in the config fixed-length
...
will help in future restructuring to have fixed-size objects.
2022-10-05 15:10:44 +00:00
Omar Polo
7bb80ca90d
don't count twice the failing tests on gmid crash
2022-09-10 10:12:50 +00:00
Omar Polo
aae8f6bf2b
change the flags to be consistent with other OpenBSD daemons
...
-d is `debug' (run in the foreground)
-f to load the configuration file
adjust regress and contrib accordingly
2022-09-08 21:34:29 +00:00
Omar Polo
a5fb2593a9
adjust regress to use `ge' for the old configless test
2022-09-08 20:45:12 +00:00
Omar Polo
5df699d1ab
count ran/failed tests number
2022-08-29 16:44:07 +00:00
Omar Polo
5266f50060
posixify lib.sh: use = instead of == for test(1)
2022-01-30 13:31:29 +00:00
Omar Polo
964686ce0b
remove unused function
2022-01-27 10:57:45 +00:00
Omar Polo
92a9f41d3d
add set_proxy to simplify testing + more checks in test_proxy_with_certs
2022-01-03 13:31:34 +00:00
Omar Polo
7b7def0a8f
set prefork to 1 during regress
2022-01-03 13:31:34 +00:00
Omar Polo
dd208aa2cf
don't print `config OK'
2022-01-03 13:31:34 +00:00
Omar Polo
7a4ae106ec
switch to the new gg for the regress suite
2021-12-29 18:16:00 +00:00
Omar Polo
ce09569f7b
typo
2021-12-29 18:13:55 +00:00
Omar Polo
ae0d3cdbbe
typo
...
forgot to rename variable in lib.sh: dont_check ->
dont_check_server_alive.
2021-12-09 19:13:30 +00:00
Omar Polo
6e0f14d51e
re-add sha script; it's used in the Makefile
...
While there, use it in the tests too
2021-10-04 09:40:05 +00:00
Omar Polo
260becda9c
reduced the timeout time for single checks
2021-10-04 09:34:39 +00:00
Omar Polo
4a2a525d7c
allow running only specific tests
...
It's now possible to run only a subset of the tests with:
./runtime test1 test2 ...
2021-10-04 09:30:18 +00:00
Omar Polo
176179b2a9
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.
2021-10-04 09:04:33 +00:00