From a8a37b681e54cb236f0547961d87bf271db8d536 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 2 Apr 2024 22:01:00 +0200 Subject: 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 ... --- src/testsuite/opless-channel-test.e | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testsuite/opless-channel-test.e') diff --git a/src/testsuite/opless-channel-test.e b/src/testsuite/opless-channel-test.e index 4611fe17..cd4f9a0b 100644 --- a/src/testsuite/opless-channel-test.e +++ b/src/testsuite/opless-channel-test.e @@ -29,5 +29,5 @@ expect { send "quit\r" expect { timeout { exit 1 } - "Connection closed" + "ERROR :Closing connection" } -- cgit 1.4.1