* [PATCH] t/perf-nntpd.t: update for RFC 5536 sec 3.2.14 compliance
@ 2018-12-25 11:12 7% Eric Wong
0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2018-12-25 11:12 UTC (permalink / raw)
To: meta
This performance test doesn't normally get run...
Fixes: dd7049951c052c54 ("Put the NNTP server name into Xref lines")
---
t/perf-nntpd.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/perf-nntpd.t b/t/perf-nntpd.t
index e502153..f7890d1 100644
--- a/t/perf-nntpd.t
+++ b/t/perf-nntpd.t
@@ -78,7 +78,7 @@ if (($ENV{NNTP_TEST_URL} || '') =~ m!\Anntp://([^/]+)/([^/]+)\z!) {
$s = IO::Socket::INET->new(%opts);
$s->autoflush(1);
my $buf = $s->getline;
-is($buf, "201 server ready - post via email\r\n", 'got greeting');
+like($buf, qr/\A201 .* ready - post via email\r\n/s, 'got greeting');
my $t = timeit(10, sub {
ok($s->print("GROUP $group\r\n"), 'changed group');
--
EW
^ permalink raw reply related [relevance 7%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-12-25 11:12 7% [PATCH] t/perf-nntpd.t: update for RFC 5536 sec 3.2.14 compliance Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).