aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Expand)AuthorAgeFilesLines
* GitHub CI Workflow: Bump OS and compiler versions (#447)•••* GitHub CI Workflow: Bump OS and compiler versions * CI: fix for clang 18/19 - Don't enable -Werror during the execution of ./configure and drop -Wunused-value from --enable-warnings - librb/src/crypt.c: remove old-style function decls - rb_dictionary: define type of arguments, fix callees - rb_radixtree: fix spurious out-of-bounds diagnostic Co-authored-by: Doug Freed <dwfreed@mtu.edu>Gravatar Aaron Jones2025-02-251-1/+1
* Remove WebSocket supportGravatar Aaron Jones2024-06-123-3/+0
* m_sasl: Remove implicit abort on registration•••This doesn't make sense in a world where post-registration SASL is allowed, and should fix one case of an annoying login desync that's seen in the real world. Specifically, when a client sends its final AUTHENTICATE and Atheme receives it, it sends an SVSLOGIN for that client. If the client sends us its CAP END *before* we see the SVSLOGIN, the implicit abort will try to abort the SASL session that's already succeeded. Atheme interprets this as an instruction to forget about the successful SASL session; you'll connect unidentified. But it's already sent SVSLOGIN, which will log the client in ircd-side, causing ircd and services views to differ until the user authenticates again manually. I think allowing a SASL session to be aborted when it has already succeeded is an Atheme bug, and it can still be triggered without this change. But our behaviour here seems silly anyway. Gravatar Ed Kellett2022-10-061-22/+9
* valid_temp_time: more simplification and test fixesGravatar Doug Freed2022-06-201-1/+5
* valid_temp_time: simplify/correct overflow check•••the logic for trying to detect the maximum value of time_t was broken; since we target a lower maximum time anyway, just use that for the overflow check Gravatar Ed Kellett2022-06-201-3/+2
* Test some edge cases of valid_temp_timeGravatar Ed Kellett2022-04-131-0/+33
* Add tests for valid_temp_timeGravatar Ed Kellett2022-03-062-0/+53
* tests: chase listener refactor changesGravatar Ariadne Conill2021-07-311-1/+0
* Remove Windows supportGravatar jailbird7772021-07-303-33/+9
* privilegeset_add_privs: append rather than replaceGravatar Ed Kellett2021-03-011-0/+18
* privilegeset_diff: return things in a structGravatar Ed Kellett2021-03-011-39/+28
* Add tests for privsetsGravatar Ed Kellett2021-03-012-0/+168
* chmode: centralise + test mode limits (#94)Gravatar Ed Kellett2021-01-261-0/+36
* Add some tests for multilineGravatar Ed Kellett2020-11-123-0/+171
* tests: clean *.db, *.log•••Co-authored-by: Unit 193 <unit193@unit193.net> Gravatar Ed Kellett2020-11-101-0/+1
* Autogenerate tests/runtime/modulesGravatar Ed Kellett2020-11-09147-146/+7
* tests: autogenerate TESTSGravatar Ed Kellett2020-11-092-12/+6
* tests: cleanup .gitignoreGravatar Ed Kellett2020-11-091-0/+13
* tests: implicitly link *_util.c into every testGravatar Ed Kellett2020-11-091-15/+3
* Test chmode parsingGravatar Ed Kellett2020-11-084-0/+124
* Mark fake test clients, don't assert they're realGravatar Ed Kellett2020-11-011-0/+2
* Fix a corner case of superset matching•••The algorithm we're using gets stuck if it has a ? and can only see a * to feed to it, even if it could skip over that * and consume a character following it. Remedy this by rearranging the input so * always precedes ? in runs of wildcards, so when we're matching ? we know we can skip things. Gravatar Ed Kellett2020-10-311-0/+23
* Add (some failing) tests for mask matchingGravatar Ed Kellett2020-10-313-0/+77
* Implement the solanum.chat/identify-msg vendor capGravatar Ed Kellett2020-10-161-0/+1
* Innovation by sedGravatar Ed Kellett2020-10-151-2/+2
* Merge pull request #355 from edk0/kline-cidr•••Improve [kd]line handling of invalid IP-like masksGravatar Aaron Jones2020-08-063-0/+221
|\
| * Add tests for parse_netmaskGravatar Ed Kellett2020-07-263-0/+221
* | Test sendto_channel_local_priv not ONLY_OPERSGravatar Ed Kellett2020-08-042-5/+7
|/
* Merge pull request #345 from edk0/alias•••m_alias: Preserve protocol framing charactersGravatar Aaron Jones2020-07-071-0/+45
|\
| * m_alias: Preserve protocol framing charactersGravatar Ed Kellett2020-07-051-0/+45
* | Add tests for opmod_send_statusmsgGravatar Ed Kellett2020-07-061-4/+132
|/
* Merge pull request #319 from edk0/invite-notify•••Fix invite-notify and move it to an extensionGravatar Aaron Jones2020-05-011-85/+85
|\
| * Use a different cap for send testsGravatar Ed Kellett2020-04-301-85/+85
* | Run tests with ASan leak detection off•••The test environment is sufficiently weird that I don't think fixing these would be a good use of anyone's time Gravatar Ed Kellett2020-04-261-1/+1
|/
* tests: Check sendto_wallops_flags works with format stringsGravatar Simon Arlott2020-01-111-0/+122
* tests/Makefile.am: check-local: don't depend on extensions/*•••This breaks if a file in extensions/ doesn't get built due to conditional compilation, and the tests don't need anything under extensions/ anyway. Gravatar Aaron Jones2019-10-071-2/+1
* Propagate OPER•••Move opername and privset storage to struct User, so it can exist for remote opers. On /oper and when bursting opers, send: :foo OPER opername privset which sets foo's opername and privset. The contents of the privset on remote servers come from the remote server's config, so the potential for confusion exists if these do not match. If an oper's privset does not exist on a server that sees it, it will complain, but create a placeholder privset. If the privset is created by a rehash, this will be reflected properly. /privs is udpated to take an optional argument, the server to query, and is now local by default: /privs [[nick_or_server] nick] Gravatar Ed Kellett2019-09-131-8/+8
* tests: Fix use-after-free bugGravatar Simon Arlott2019-08-311-1/+4
* librb: Fix type of dst for rb_inet_pton_sock()Gravatar Simon Arlott2019-08-312-4/+4
* tests: Remove modules that don't existGravatar Simon Arlott2019-08-312-2/+0
* tests: Verify behaviour if services authenticates a user after SASL is abortedGravatar Simon Arlott2019-02-2310-9/+251
* tests: add serv_connect1 (exit_unknown_client)•••Test serv_connect followed by exit_unknown_client. An outgoing connection should not delete an incoming connection that occurs during the connection attempt. Gravatar Simon Arlott2017-08-245-1/+163
* tests: add rb_dictionary1•••This doesn't do much because replacing existing elements isn't allowed. Gravatar Simon Arlott2017-08-063-0/+65
* tests: send1: add tag tests to all functionsGravatar Simon Arlott2017-08-061-0/+2080
* ircd: send tags on every message•••Simplify linebuf by introducing fsnprint to manage a list of printfs. Add a msgbuf unparse cache for send functions that loop. Gravatar Simon Arlott2017-08-064-886/+20
* tests: send1: fix sendto_channel_opmod (remote) to cover all scenariosGravatar Simon Arlott2017-08-061-10/+40
* tests: send1: fix sendto_channel_opmod (remote) to call the right functionGravatar Simon Arlott2017-08-061-4/+2
* tests: send1: add missing CAP_SERVER_TIME test to sendto_channel_flags from r...Gravatar Simon Arlott2017-08-061-4/+6
* tests: send1: test MODE_MODERATED with sendto_channel_opmodGravatar Simon Arlott2017-08-061-2/+16
* tests: send1: load modules in a predictable order•••So that tags are added in the same order every time. # wanted: @time=2017-07-14T02:40:00.000Z;account=test :LChanPeon!username@example.test TEST #placeholder :Hello World! # seen: @account=test;time=2017-07-14T02:40:00.000Z :LChanPeon!username@example.test TEST #placeholder :Hello World! Gravatar Simon Arlott2017-08-063-3/+19