[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2048] nagiosplug/trunk/plugins/tests/check_http.t

tonvoon at users.sourceforge.net tonvoon at users.sourceforge.net
Mon Aug 25 20:39:30 CEST 2008


Revision: 2048
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2048&view=rev
Author:   tonvoon
Date:     2008-08-25 18:39:27 +0000 (Mon, 25 Aug 2008)

Log Message:
-----------
Fix HTTP::Daemon::VERSION to get a fixed header size for tests
(Sven Nierlein)

Modified Paths:
--------------
    nagiosplug/trunk/plugins/tests/check_http.t

Modified: nagiosplug/trunk/plugins/tests/check_http.t
===================================================================
--- nagiosplug/trunk/plugins/tests/check_http.t	2008-08-25 13:26:11 UTC (rev 2047)
+++ nagiosplug/trunk/plugins/tests/check_http.t	2008-08-25 18:39:27 UTC (rev 2048)
@@ -12,6 +12,9 @@
 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();


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list