diff options
| author | Alexander Barton <alex@barton.de> | 2024-04-02 22:01:00 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2024-04-05 23:16:07 +0200 |
| commit | a8a37b681e54cb236f0547961d87bf271db8d536 (patch) | |
| tree | 26bcfcc15f61e873e56d11de3a4d0a722a9c79e4 /src/testsuite/kick-test.e | |
| parent | 22a8744476dff7763cd94954bd8f96fbdfc0d251 (diff) | |
| download | ngircd-a8a37b681e54cb236f0547961d87bf271db8d536.tar.gz ngircd-a8a37b681e54cb236f0547961d87bf271db8d536.zip | |
Test suite: wait for ERROR message on QUIT
Wait for the "ERROR :Closing connection" message sent by ngIRCd when handling the QUIT command, do not wait for "Connection closed" which is actually output by the telnet(1) command and is implementation dependant! For example, on Haiku OS, this is not always(!) echoed (the command seems to hang sometimes?) which results in unpredictable failures in the test suite ...
Diffstat (limited to 'src/testsuite/kick-test.e')
| -rw-r--r-- | src/testsuite/kick-test.e | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testsuite/kick-test.e b/src/testsuite/kick-test.e index 89da611d..a8038796 100644 --- a/src/testsuite/kick-test.e +++ b/src/testsuite/kick-test.e @@ -109,5 +109,5 @@ expect { send "quit\r" expect { timeout { exit 1 } - "Connection closed" + "ERROR :Closing connection" } |