diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2008-08-25 18:39:27 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2008-08-25 18:39:27 +0000 |
commit | 3b4d0bb2922bf26f43d1b0a9c20f46834dacc8d5 (patch) | |
tree | 9f6eec1d0948f6b60f86944a6f53e10701155889 /plugins | |
parent | bb5ce4be01810300d9dbffc72eb07364dd18e379 (diff) | |
download | monitoring-plugins-3b4d0bb2922bf26f43d1b0a9c20f46834dacc8d5.tar.gz |
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
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/tests/check_http.t | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/tests/check_http.t b/plugins/tests/check_http.t index a4a45cb8..d37856f8 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(); |