You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2017/07/17 15:50:03 UTC

svn commit: r1802161 - /httpd/test/framework/trunk/t/modules/remoteip.t

Author: jim
Date: Mon Jul 17 15:50:03 2017
New Revision: 1802161

URL: http://svn.apache.org/viewvc?rev=1802161&view=rev
Log:
Ensure we skip if needed

Modified:
    httpd/test/framework/trunk/t/modules/remoteip.t

Modified: httpd/test/framework/trunk/t/modules/remoteip.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/remoteip.t?rev=1802161&r1=1802160&r2=1802161&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/remoteip.t (original)
+++ httpd/test/framework/trunk/t/modules/remoteip.t Mon Jul 17 15:50:03 2017
@@ -11,7 +11,11 @@ use Apache::TestUtil;
 ## PROXY protocol: https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt
 ##
 Apache::TestRequest::module("remote_ip");
-plan tests => 12, need_module 'remoteip', have_min_apache_version('2.5.0');
+plan tests => 12,
+     need(
+         need_module('remoteip'),
+         need_min_apache_version('2.5.0')
+     );
 
 sub slurp
 {