]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
remove trailing newline from pid (RT #24388)
authorScott Mann <smann@isc.org>
Thu, 5 May 2011 22:58:59 +0000 (22:58 +0000)
committerScott Mann <smann@isc.org>
Thu, 5 May 2011 22:58:59 +0000 (22:58 +0000)
bin/tests/system/start.pl

index 5084d40bcd20a129195fc95fff5314c8c7357533..6a24fd1262c4e5527ee61a54a340267eb4a3c5c5 100644 (file)
@@ -15,7 +15,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: start.pl,v 1.16.54.5 2011/05/05 04:55:46 marka Exp $
+# $Id: start.pl,v 1.16.54.6 2011/05/05 22:58:59 smann Exp $
 
 # Framework for starting test servers.
 # Based on the type of server specified, check for port availability, remove
@@ -201,6 +201,7 @@ sub start_server {
 
        # start the server
        my $child = `$command`;
+       chomp($child);
 
        # wait up to 14 seconds for the server to start and to write the
        # pid file otherwise kill this server and any others that have