[BACK]Return to kick-test.e CVS log [TXT][DIR] Up to [local] / ircnowd / src / testsuite

Annotation of ircnowd/src/testsuite/kick-test.e, Revision 1.1

1.1     ! tomglok     1: # ngIRCd test suite
        !             2: # KICK test
        !             3:
        !             4: spawn telnet 127.0.0.1 6789
        !             5: expect {
        !             6:        timeout { exit 1 }
        !             7:        "Connected"
        !             8: }
        !             9:
        !            10: send "nick nick\r"
        !            11: send "user user . . :User\r"
        !            12: expect {
        !            13:        timeout { exit 1 }
        !            14:        "376"
        !            15: }
        !            16:
        !            17: send "kick #Channel nick\r"
        !            18: expect {
        !            19:        timeout { exit 1 }
        !            20:        "403"
        !            21: }
        !            22:
        !            23: send "join #Channel\r"
        !            24:
        !            25: send "kick #Channel nick\r"
        !            26: expect {
        !            27:        timeout { exit 1 }
        !            28:        "@* KICK #Channel nick :nick"
        !            29: }
        !            30:
        !            31: send "join #Channel\r"
        !            32:
        !            33: send "kick #Channel nick :reason\r"
        !            34: expect {
        !            35:        timeout { exit 1 }
        !            36:        "@* KICK #Channel nick :reason"
        !            37: }
        !            38:
        !            39: send "join #Channel,#Channel2\r"
        !            40:
        !            41: send "kick #Channel,#Channel2 nick\r"
        !            42: expect {
        !            43:        timeout { exit 1 }
        !            44:        "461"
        !            45: }
        !            46:
        !            47: send "kick #Channel,#Channel2,#NoExists,#NoExists nick1,nick,nick3,nick :reason\r"
        !            48: expect {
        !            49:        timeout { exit 1 }
        !            50:        "401"
        !            51: }
        !            52: expect {
        !            53:        timeout { exit 1 }
        !            54:        "@* KICK #Channel2 nick :reason"
        !            55: }
        !            56: expect {
        !            57:        timeout { exit 1 }
        !            58:        "401"
        !            59: }
        !            60: expect {
        !            61:        timeout { exit 1 }
        !            62:        "403"
        !            63: }
        !            64:
        !            65: send "kick #Channel nick2,nick,nick3\r"
        !            66: expect {
        !            67:        timeout { exit 1 }
        !            68:        "401"
        !            69: }
        !            70: expect {
        !            71:        timeout { exit 1 }
        !            72:        "@* KICK #Channel nick :nick"
        !            73: }
        !            74: expect {
        !            75:        timeout { exit 1 }
        !            76:        "401"
        !            77: }
        !            78:
        !            79: send "kick #Channel ,,\r"
        !            80: expect {
        !            81:        timeout { exit 1 }
        !            82:        "401"
        !            83: }
        !            84: expect {
        !            85:        timeout { exit 1 }
        !            86:        "401"
        !            87: }
        !            88:
        !            89: send "kick ,, ,,,\r"
        !            90: expect {
        !            91:        timeout { exit 1 }
        !            92:        "461"
        !            93: }
        !            94:
        !            95: send "kick ,, ,,\r"
        !            96: expect {
        !            97:        timeout { exit 1 }
        !            98:        "401"
        !            99: }
        !           100: expect {
        !           101:        timeout { exit 1 }
        !           102:        "401"
        !           103: }
        !           104: expect {
        !           105:        timeout { exit 1 }
        !           106:        "401"
        !           107: }
        !           108:
        !           109: send "quit\r"
        !           110: expect {
        !           111:        timeout { exit 1 }
        !           112:        "Connection closed"
        !           113: }

CVSweb