X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftestsuite%2Fcheck-idle.e;h=ad112b25688ded0ab204b9feafb6372be1b5486b;hb=4169cb25e620cbd8a54cd19b509a8f88d7c295f9;hp=08d79cab59c01d1ea1b6d09df0754938b5964931;hpb=fc6f64742cf58203c5e14481498e592d21899f02;p=ngircd-alex.git diff --git a/src/testsuite/check-idle.e b/src/testsuite/check-idle.e index 08d79cab..ad112b25 100644 --- a/src/testsuite/check-idle.e +++ b/src/testsuite/check-idle.e @@ -1,6 +1,7 @@ -# $Id: check-idle.e,v 1.1 2002/09/09 22:56:07 alex Exp $ +# ngIRCd test suite +# Idle test -spawn telnet localhost 6789 +spawn telnet 127.0.0.1 6789 expect { timeout { exit 1 } "Connected" @@ -10,6 +11,7 @@ send "nick IdleTest\r" send "user idle . . :Idle-Test\r" expect { timeout { exit 1 } + "433 * IdleTest :Nickname already in use" { exit 99 } "376" } @@ -27,5 +29,3 @@ expect { } exit $r - -# -eof-