lusers: Add a variant that ircu2 and snircd can pass + add stricter tests (#126)

This commit is contained in:
Val Lorentz
2022-01-15 00:19:58 +01:00
committed by GitHub
parent 88a8f8ad8d
commit 1371979ccd
2 changed files with 73 additions and 31 deletions

View File

@ -66,7 +66,7 @@ INSPIRCD_SELECTORS := \
# buffering tests fail because ircu2 discards the whole buffer on long lines (TODO: refine how we exclude these tests)
# testQuit and testQuitErrors fail because ircu2 does not send ERROR or QUIT
# lusers tests fail because they depend on Modern behavior, not just RFC2812 (TODO: update lusers tests to accept RFC2812-compliant implementations)
# lusers "full" tests fail because they depend on Modern behavior, not just RFC2812
# statusmsg tests fail because STATUSMSG is present in ISUPPORT, but it not actually supported as PRIVMSG target
# testKeyValidation[empty] fails because ircu2 returns ERR_NEEDMOREPARAMS on empty keys: https://github.com/UndernetIRC/ircu2/issues/13
# testKickDefaultComment fails because it uses the nick of the kickee rather than the kicker.
@ -78,7 +78,7 @@ IRCU2_SELECTORS := \
and not strict \
and not buffering \
and not testQuit \
and not lusers \
and not (lusers and full) \
and not statusmsg \
and not (testKeyValidation and empty) \
and not testKickDefaultComment \
@ -93,7 +93,7 @@ SNIRCD_SELECTORS := \
and not strict \
and not buffering \
and not testQuit \
and not lusers \
and not (lusers and full) \
and not statusmsg \
$(EXTRA_SELECTORS)