home · contact · privacy
Add 433 testing.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 20 Sep 2025 02:08:13 +0000 (04:08 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 20 Sep 2025 02:08:13 +0000 (04:08 +0200)
test.txt

index 962d303a8c586b16db4ffb28127427a47c901cec..5a72a4ccb1580d547ea572ce08d1b347cb8195b0 100644 (file)
--- a/test.txt
+++ b/test.txt
@@ -40,7 +40,7 @@
 > /window.prompt.scroll foo
 > /window.paste
 
-# ETC.
+# CONNECTED INTERACTIONS
 
 # on /connect init databases, log in new windows
 > /connect foo.bar.baz foo:bar foobarbazquux:baz
 2 < PING :?
 2 > PONG :?
 
+# handle 433
+2 < :*.?.net 433 * foo :Nickname already in use
+1,2 !$ nickname already in use, trying increment
+2 > NICK :foo0
+2 < :*.?.net 433 * foo0 :Nickname already in use
+1,2 !$ nickname already in use, trying increment
+2 > NICK :foo1
+
 # collect server capabilities
 2 < :*.?.net CAP * LS : foo bar sasl=PLAIN,EXTERNAL baz
 2 > CAP REQ :sasl
 2 > AUTHENTICATE :PLAIN
 2 < AUTHENTICATE +
 2 > AUTHENTICATE :Zm9vAGZvbwBiYXI=
-2 < :foo.bar.baz 900 foo foo!foobarbazq@baz.bar.foo foo :You are now logged in as foo
+2 < :foo.bar.baz 900 foo1 foo1!foobarbazq@baz.bar.foo foo :You are now logged in as foo
 1,2 $ users:me:nick set to: [?]
-1,2 $ users:me:nick set to: [foo]
+1,2 $ users:me:nick set to: [foo1]
 1,2 $ users:me:user set to: [foobarbazq]
 1,2 $ users:me:host set to: [baz.bar.foo]
 1,2 $ sasl_account set to: [foo]
-2 < :foo.bar.baz 903 foo :SASL authentication successful
+2 < :foo.bar.baz 903 foo1 :SASL authentication successful
 1,2 $ sasl_auth_state set to: [SASL authentication successful]
 
 # finish CAP negotation, thus login procedure
 2 > CAP :END
 
 # of all pre-MOTD greeting messages, only process isupports
-2 < :foo.bar.baz 001 foo :Welcome to the foo.bar.baz network
-2 < :foo.bar.baz 002 foo :Your host is foo.bar.baz
-2 < :foo.bar.baz 003 foo :This server was created Jan 1 2020
-2 < :foo.bar.baz 004 foo foo.bar.baz ircserver-1.0 abc def ghi
-2 < :foo.bar.baz 005 foo ABC=DEF GHI=JKL :are supported by this server
+2 < :foo.bar.baz 001 foo1 :Welcome to the foo.bar.baz network
+2 < :foo.bar.baz 002 foo1 :Your host is foo.bar.baz
+2 < :foo.bar.baz 003 foo1 :This server was created Jan 1 2020
+2 < :foo.bar.baz 004 foo1 foo.bar.baz ircserver-1.0 abc def ghi
+2 < :foo.bar.baz 005 foo1 ABC=DEF GHI=JKL :are supported by this server
 1,2 $ isupport:ABC set to: [DEF]
 1,2 $ isupport:GHI set to: [JKL]
-2 < :foo.bar.baz 005 foo MNO=PQR STU=VWX Y=Z :are supported by this server
+2 < :foo.bar.baz 005 foo1 MNO=PQR STU=VWX Y=Z :are supported by this server
 1,2 $ isupport:MNO set to: [PQR]
 1,2 $ isupport:STU set to: [VWX]
 1,2 $ isupport:Y set to: [Z]
-2 < :foo.bar.baz 251 foo :There are 10 users and 1000 invisible on 5 servers
-2 < :foo.bar.baz 252 foo 7 :IRC Operators online
-2 < :foo.bar.baz 253 foo 4 :unknown connection(s)
-2 < :foo.bar.baz 254 foo 800 :channels formed
-2 < :foo.bar.baz 255 foo :I have 100 clients and 1 serveres
-2 < :foo.bar.baz 265 foo 100 150 :Current local users 100, max 150
-2 < :foo.bar.baz 266 foo 1010 1050 :Current global users 1010, max 1050
-2 < :foo.bar.baz 250 foo :Highest connection count: 151 (150 clients) (1080 connections received)
+2 < :foo.bar.baz 251 foo1 :There are 10 users and 1000 invisible on 5 servers
+2 < :foo.bar.baz 252 foo1 7 :IRC Operators online
+2 < :foo.bar.baz 253 foo1 4 :unknown connection(s)
+2 < :foo.bar.baz 254 foo1 800 :channels formed
+2 < :foo.bar.baz 255 foo1 :I have 100 clients and 1 serveres
+2 < :foo.bar.baz 265 foo1 100 150 :Current local users 100, max 150
+2 < :foo.bar.baz 266 foo1 1010 1050 :Current global users 1010, max 1050
+2 < :foo.bar.baz 250 foo1 :Highest connection count: 151 (150 clients) (1080 connections received)
 
 # collect MOTD into a single output (rather than line-by-line)
-2 < :foo.bar.baz 375 foo :- foo.bar.baz Message of the Day -
-2 < :foo.bar.baz 372 foo :- Howdy! -
-2 < :foo.bar.baz 372 foo :- Welcome! -
-2 < :foo.bar.baz 372 foo :- (to this server) -
-2 < :foo.bar.baz 376 foo :End of /MOTD command
+2 < :foo.bar.baz 375 foo1 :- foo.bar.baz Message of the Day -
+2 < :foo.bar.baz 372 foo1 :- Howdy! -
+2 < :foo.bar.baz 372 foo1 :- Welcome! -
+2 < :foo.bar.baz 372 foo1 :- (to this server) -
+2 < :foo.bar.baz 376 foo1 :End of /MOTD command
 1,2 $ motd set to:
 1,2 $   - Howdy! -
 1,2 $   - Welcome! -
 1,2 $   - (to this server) -
 
 # collect user mode
-2 < :foo MODE foo :+Ziw
+2 < :foo1 MODE foo1 :+Ziw
 1,2 $ users:me:modes set to: [+Ziw]
 
 # handle bot query NOTICE
-2 < :SaslServ!SaslServ@services.bar.baz NOTICE foo :Last login from ~foobarbaz@foo.bar.baz on Jan 1 22:00:00 2021 +0000.
+2 < :SaslServ!SaslServ@services.bar.baz NOTICE foo1 :Last login from ~foobarbaz@foo.bar.baz on Jan 1 22:00:00 2021 +0000.
 3 <<< [SaslServ] Last login from ~foobarbaz@foo.bar.baz on Jan 1 22:00:00 2021 +0000.
 
 # check difference in available commands when switching to client window
 # join channel, collect topic, residents; update me:user from JOIN message
 > /join #test
 2 > JOIN :#test
-2 < :foo!~foobarbaz@baz.bar.foo JOIN #test
+2 < :foo1!~foobarbaz@baz.bar.foo JOIN #test
 1,2 $ users:me:user set to: [~foobarbaz]
-2 < :foo.bar.baz 332 foo #test :foo bar baz
+2 < :foo.bar.baz 332 foo1 #test :foo bar baz
 1,2 $ channels:#test:exits cleared
-2 < :foo.bar.baz 333 foo #test bar!~bar@bar.bar 1234567890
+2 < :foo.bar.baz 333 foo1 #test bar!~bar@bar.bar 1234567890
 1,2 $ channels:#test:topic set to: [Topic(what='foo bar baz', who=NickUserHost(nick='bar', user='~bar', host='bar.bar'))]
 4 $ bar!~bar@bar.bar set topic: foo bar baz
-2 < :foo.bar.baz 353 foo @ #test :foo @bar
+2 < :foo.bar.baz 353 foo1 @ #test :foo1 @bar
 1,2 $ users:1:nick set to: [?]
 1,2 $ users:1:nick set to: [bar]
-2 < :foo.bar.baz 366 foo #test :End of /NAMES list.
+2 < :foo.bar.baz 366 foo1 #test :End of /NAMES list.
 1,2 $ channels:#test:user_ids set to:
 1,2 $   1
 1,2 $   me
-4 $ residents: bar, foo
+4 $ residents: bar, foo1
 
 # deliver PRIVMSG to channel window, update sender's user+host from metadata
 2 < :bar!~bar@bar.bar PRIVMSG #test :hi there
 # join second channel with partial residents identity to compare distribution of resident-specific messages
 > /join #testtest
 2 > JOIN :#testtest
-2 < :foo!~foobarbaz@baz.bar.foo JOIN #testtest
-2 < :foo.bar.baz 353 foo @ #testtest :foo baz
+2 < :foo1!~foobarbaz@baz.bar.foo JOIN #testtest
+2 < :foo.bar.baz 353 foo1 @ #testtest :foo1 baz
 1,2 $ channels:#testtest:exits cleared
-2 < :foo.bar.baz 366 foo #testtest :End of /NAMES list.
+2 < :foo.bar.baz 366 foo1 #testtest :End of /NAMES list.
 1,2 $ channels:#testtest:user_ids set to:
 1,2 $   2
 1,2 $   me
-5 $ residents: baz, foo
+5 $ residents: baz, foo1
 
 # handle query window with known user
-2 < :baz!~baz@baz.baz PRIVMSG foo :hi there
+2 < :baz!~baz@baz.baz PRIVMSG foo1 :hi there
 6 < [baz] hi there
 > /privmsg baz hello, how is it going
 2 > PRIVMSG baz :hello, how is it going
-6 > [foo] hello, how is it going
-2 < :baz!~baz@baz.baz PRIVMSG foo :fine!
+6 > [foo1] hello, how is it going
+2 < :baz!~baz@baz.baz PRIVMSG foo1 :fine!
 6 < [baz] fine!
 
 # handle non-self renaming
 1,2 $ users:2 cleared
 
 # handle self-PART: clear channel, and its squatters
-2 < :foo!~foobarbaz@baz.bar.foo PART :#test
+2 < :foo1!~foobarbaz@baz.bar.foo PART :#test
 1,2 $ channels:#test:exits:me set to: [P]
 1,2 $ channels:#test:user_ids set to:
 1,2 $   3
-4 $ foo!~foobarbaz@baz.bar.foo parts
+4 $ foo1!~foobarbaz@baz.bar.foo parts
 1,2 $ channels:#test:exits:me cleared
 1,2 $ channels:#test cleared
 1,2 $ users:3 cleared
 > /disconnect
 1,2 $ requesting disconnect …
 2 > QUIT :ircplom says bye
-2 < :foo!~foobarbaz@baz.bar.foo QUIT :Client Quit
+2 < :foo1!~foobarbaz@baz.bar.foo QUIT :Client Quit
 1,2 $ users:me:exit_msg set to: [QClient Quit]
-3,6 $ foo!~foobarbaz@baz.bar.foo quits: Client Quit
+3,6 $ foo1!~foobarbaz@baz.bar.foo quits: Client Quit
 1,2 $ channels:#testtest:exits:me set to: [QClient Quit]
 1,2 $ channels:#testtest:user_ids set to:
-5 $ foo!~foobarbaz@baz.bar.foo quits: Client Quit
+5 $ foo1!~foobarbaz@baz.bar.foo quits: Client Quit
 1,2 $ channels:#testtest:exits:me cleared
 2 < ERROR :Closing link: (~foobarbaz@baz.bar.foo) [Quit: ircplom says bye]
 1,2 $ connection_state set to: [Closing link: (~foobarbaz@baz.bar.foo) [Quit: ircplom says bye]]
 > /reconnect
 repeat 63:65
 3,4,5,6 $ CONNECTED
-repeat 66:147
-repeat 159:343
+repeat 66:158
+repeat 167:351
 
 > /quit
 0 <