diff --git a/t/cgi.t b/t/cgi.t
index e903072c1177239232384b40fd32e99c3036b5d4..2edef031443e6716d9431bf0b0fd08571cc56237 100755
--- a/t/cgi.t
+++ b/t/cgi.t
@@ -180,7 +180,7 @@ sub run_executable {
 
     my @args = $args ? split(/\s+/, $args) : ();
     run(
-        [ $EXECUTABLE_NAME, '-I', 'lib', 'bin/' . $executable, @args ],
+        [ $EXECUTABLE_NAME, '-T', '-I', 'lib', '-I', 't', 'bin/' . $executable, @args ],
         \my ($in, $out, $err)
     );
     return ($out, $err, $CHILD_ERROR >> 8);