summary refs log tree commit
path: root/test/helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/helper.rb')
-rw-r--r--test/helper.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/helper.rb b/test/helper.rb
index 7af0f27b..aa9c0e0a 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -2,7 +2,10 @@ require 'minitest/autorun'
 
 module Rack
   class TestCase < Minitest::Test
-    if `which lighttpd` && $?.success?
+    # Check for Lighttpd and launch it for tests if available.
+    `which lighttpd`
+
+    if $?.success?
       begin
         # Keep this first.
         LIGHTTPD_PID = fork {