From 3b4d0bb2922bf26f43d1b0a9c20f46834dacc8d5 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Mon, 25 Aug 2008 18:39:27 +0000 Subject: Fix HTTP::Daemon::VERSION to get a fixed header size for tests (Sven Nierlein) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2048 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/plugins/tests/check_http.t b/plugins/tests/check_http.t index a4a45cb..d37856f 100755 --- a/plugins/tests/check_http.t +++ b/plugins/tests/check_http.t @@ -12,6 +12,9 @@ use HTTP::Daemon; use HTTP::Status; use HTTP::Response; +# set a fixed version, so the header size doesn't vary +$HTTP::Daemon::VERSION = "1.00"; + my $port = 50000 + int(rand(1000)); my $pid = fork(); -- cgit v0.10-9-g596f