From 1baf716fd08577ea611b53c0c34c62a93640b6f2 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 16 Aug 2013 08:03:06 +0000 Subject: [PATCH] Don't wait on server that doesn't listen. --- ncat/test/ncat-test.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ncat/test/ncat-test.pl b/ncat/test/ncat-test.pl index b106e96dc..64a872750 100755 --- a/ncat/test/ncat-test.pl +++ b/ncat/test/ncat-test.pl @@ -714,7 +714,7 @@ sub { $code = $? >> 8; $code == 2 or die "Exit code was $code, not 2"; - my ($s_pid, $s_out, $s_in) = ncat_server("--baffle"); + my ($s_pid, $s_out, $s_in) = ncat("-l", "--baffle"); do { $pid = waitpid($s_pid, 0); } while ($pid > 0 && $pid != $s_pid);