Don't quote -T/-t in _scan_test()
Vincent Pit [Mon, 31 Aug 2009 16:48:34 +0000 (18:48 +0200)]
This should only be needed on VMS, and _quote_args() will take care of it.

t/TEST

diff --git a/t/TEST b/t/TEST
index ab543f8..f004f9b 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -145,11 +145,11 @@ sub _scan_test {
 
     my $switch = "";
     if ($first_line =~ /#!.*\bperl.*\s-\w*([tT])/) {
-        $switch = qq{"-$1"};
+        $switch = "-$1";
     } else {
         if ($::taintwarn) {
             # not all tests are expected to pass with this option
-            $switch = '"-t"';
+            $switch = '-t';
         } else {
             $switch = '';
         }