about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-07-02 21:50:30 +0000
committerEric Wong <e@80x24.org>2016-07-02 21:52:30 +0000
commit6e238ee3396719e578d6a90e177a71ce9f8c1ca0 (patch)
treefcec69d8aef33b03a4509ea745b40dc4756a52d0 /t
parentb830cf90a2d9787315320aa4f4640f97fb1bea87 (diff)
downloadpublic-inbox-6e238ee3396719e578d6a90e177a71ce9f8c1ca0.tar.gz
This avoids breaking clients on graceful shutdown since
NNTP responses should usually be quick.
Diffstat (limited to 't')
-rw-r--r--t/nntpd.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/nntpd.t b/t/nntpd.t
index 5875b737..7192d781 100644
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -219,6 +219,7 @@ EOF
                 is(scalar @r, 1, 'only one response line');
         }
 
+        $n = $s = undef;
         is($pid, waitpid($pid, 0), 'nntpd exited successfully');
         my $eout = eval {
                 local $/;