Valentin Lorentz
302dd33990
Merge branch 'master' into named-modes
2023-09-24 11:48:38 +02:00
Val Lorentz
1c6a7188d6
Add more tests for CAP + allow trailing spaces ( #216 )
2023-09-02 15:08:29 +02:00
Val Lorentz
ddb37d6c3f
Use real metadata keys ( #194 )
2023-04-15 23:04:24 +02:00
Val Lorentz
418b526033
Prevent random port collisions between controllers ( #191 )
...
This happens from time to time on the CI and is pretty annoying
2023-04-04 22:01:20 +02:00
Val Lorentz
1ea3e1c15c
Fix insp4 support after 'helpop' config file was renamed ( #187 )
...
c2e954903a
2023-03-01 20:07:58 +01:00
Valentin Lorentz
507f5b7426
Use pathlib to work with temporary config dirs
2022-09-10 14:17:19 +02:00
Val Lorentz
a923353ec4
Add test for ban exception mode (+e) ( #162 )
2022-04-16 08:12:27 +02:00
Val Lorentz
5122c04826
Add tests for the two invite lists ( #149 )
...
* Add tests for the two invite lists
* Add workaround for Hybrid
* Skip testInviteList on ircu2
* Fix merge
2022-04-14 21:28:12 +02:00
Val Lorentz
a39ce7f19b
Merge branch 'master' into elist
2022-04-13 18:57:46 +02:00
Val Lorentz
363b62cc80
Add tests for LINKS ( #147 )
2022-04-13 18:56:29 +02:00
Valentin Lorentz
72a12ff5ce
Add support for 'faketime', to avoid long sleeps in upcoming ELIST tests
2022-03-27 17:08:40 +02:00
Valentin Lorentz
da8a6d1f98
Initial tests for named-modes.
...
Only tested with my Insp module.
2022-02-19 11:55:41 +01:00
Val Lorentz
255ef1e469
Add tests for the HELP and HELPOP commands ( #117 )
...
* Add tests for the HELP and HELPOP commands
* Make testHelpUnknownSubject accept lowercase
* Add support for Hybrid and Plexus4's normalization
2022-01-10 23:55:24 +01:00
Valentin Lorentz
18befc9e96
inspircd: Increase limit of connections on insp4
...
There used to be no limit by default, but 460220fbf5
set it to 3.
2021-11-25 20:32:14 +01:00
Val Lorentz
5e4ae7c999
Add tests for WALLOPS ( #109 )
...
* Add tests for WALLOPS
* Add perms on plexus/hybrid, skip on ergo, laxer matching for ircu2
* Fix again for irc2 and ircu2
* Servers MAY send WALLOPS only to operators.
2021-09-19 15:33:31 +02:00
Val Lorentz
23c7c1642b
exhaustive testing of Modern's WHOIS spec ( #104 )
...
* Add testWhoisNumerics, to check Modern exhaustively covers known numerics
* ircu2: Workaround for server name in testWhoisNumerics.
* testWhoisUser: Work around ircu2 restrictions on nick and username
* testWhoisNumerics: Add variant with authenticated user
* testWhoisNumerics: Add support for RPL_AWAY and RPL_WHOISSPECIAL
* testWhoisNumerics: Add variant where the WHOIS sender opers up first
* testWhoisUser: Also test with targets
* inspircd: Fix oper configuration
* Fix RPL_WHOISACTUALLY matching for Unreal.
2021-08-29 16:38:38 +02:00
Val Lorentz
a9e6605640
Add exhaustive testing of INVITE. ( #87 )
...
* Add exhaustive testing of INVITE.
Only tested with Modern, because no one implements the RFC syntax.
* Mark testInviteUnopped* as strict tests.
* Exclude testInviteInviteOnlyModern on Plexus4
* Add test for ERR_USERONCHANNEL.
2021-08-26 21:04:45 +02:00
Val Lorentz
a637ae3927
Add Anope controller, and use it with inspircd and unreal ( #75 )
...
* Add Anope controller, and use it with inspircd and unreal
* Build Anope before running it, duh
* Fix Anope build script
* Consistently use ascii casemapping instead of rfc1459
* Skip failing test with Anope
2021-07-07 15:06:00 +02:00
Valentin Lorentz
7e024b9ead
Add CLI option --services-controller to allow alternatives to Atheme (none for now)
...
+ fix some issues with killing services processes
2021-07-07 14:02:47 +02:00
Valentin Lorentz
f83f2a4edf
Make all tests pass with Unreal (minus service tests)
2021-07-02 21:41:35 +02:00
Valentin Lorentz
26a0245a6a
Add tests for the draft bot mode.
2021-07-01 16:44:48 +02:00
Valentin Lorentz
3d2399f62e
Run Atheme with Charybdis, to enable tests depending on SASL
2021-06-27 21:19:34 +02:00
Valentin Lorentz
c5037e8ec9
Make AthemeController a collaborator instead of a mixin
...
It makes the inheritence less messy and avoids a mypy hack.
This will also allow configuring which service package an ircd controller
uses, instead of hardcoding it in the inheritence DAG.
2021-06-27 16:45:43 +02:00
Valentin Lorentz
7ee3c562d1
Run Atheme with InspIRCd, to enable tests depending on SASL
2021-06-27 16:45:43 +02:00
Valentin Lorentz
62a87b5957
type-annotate all functions outside the tests themselves.
2021-02-28 18:45:13 +01:00
Valentin Lorentz
12da7e1e3b
Enable mypy, and do the minimal changes to make it pass
2021-02-28 18:45:13 +01:00
Valentin Lorentz
96a8d1f7ff
Make MuteExtban not Oragono-specific.
2021-02-28 09:24:47 +01:00
Valentin Lorentz
22eb8d4369
inspircd: Enable all modules for caps/commands that we can test
...
Instead of skipping these tests.
2021-02-27 15:34:59 +01:00
Valentin Lorentz
f9d0ec18ff
Make flake8 pass, and run it automatically.
2021-02-22 19:42:18 +01:00
Valentin Lorentz
836cc5d6d2
Use isort to order imports.
2021-02-22 19:42:18 +01:00
Valentin Lorentz
8016e01daf
Use Black code style
2021-02-22 19:42:18 +01:00
Valentin Lorentz
373c705247
Add STS tests.
2021-02-21 22:05:15 +01:00
Valentin Lorentz
e2583a67ca
Add STARTTLS tests.
2015-12-25 15:45:06 +01:00
Valentin Lorentz
87301592d4
Add echo-message tests.
2015-12-24 20:52:36 +01:00
Valentin Lorentz
d3617b7012
Make port wait lazy. This way, we don't want for the server to start if the test is skipped immediately.
2015-12-23 01:54:10 +01:00
Valentin Lorentz
53f916991f
Add METADATA tests.
2015-12-22 22:33:23 +01:00
Valentin Lorentz
2cc4ad4f0f
Make the set of tested specifications configurable.
2015-12-22 19:55:48 +01:00
Valentin Lorentz
d2616dc7d7
Small code improvements to InspIRCd controller.
2015-12-21 20:12:57 +01:00
Valentin Lorentz
74443bb6ae
Add PASS tests.
2015-12-21 16:36:22 +01:00
Valentin Lorentz
4335b909e5
Hide InspIRCd's output.
2015-12-21 12:24:08 +01:00
Valentin Lorentz
38569f013f
Add PLAIN test for servers.
2015-12-20 16:15:25 +01:00
Daniel Oaks
9844b08d9d
Automatically wait for server to start before running server tests
2015-12-20 22:46:47 +10:00
Daniel Oaks
6973f05130
Add --server-start-delay for delay seconds, and cleanup mammon
2015-12-20 14:00:20 +10:00
Valentin Lorentz
2695b604e7
Add testNakWhole.
2015-12-20 02:20:12 +01:00
Valentin Lorentz
7a4cc47d9c
Enable IRCv3 for InspIRCd.
2015-12-19 23:44:51 +01:00
Valentin Lorentz
a8f8d7c077
Start supporting server testing.
2015-12-19 23:09:06 +01:00