Re: Analysis of problems with mixed encoding case insensitive matches in regex engine.
[p5sagit/p5-mst-13.2.git] / t / op / utftaint.t
index 1cadc07..d6e900d 100644 (file)
@@ -143,16 +143,10 @@ for my $ary ([ascii => 'perl'], [latin1 => "\xB6"]) {
     is(tainted($taint), tainted($arg), "tainted: $encode, downgrade down");
 }
 
-SKIP: {
-    eval {
-       fresh_perl_is('$a = substr $^X, 0, 0; /\x{100}/i; /$a\x{100}/i || print q,ok,',
-                     'ok', {switches => ["-T", "-l"]},
-                     "matching a regexp is taint agnostic");
-       };
-    if ($@ =~ /^Insecure directory in/) {
-       chomp $@;
-       skip ("Can't run taint checks with $@", 2);
-    } 
+{
+    fresh_perl_is('$a = substr $^X, 0, 0; /\x{100}/i; /$a\x{100}/i || print q,ok,',
+                 'ok', {switches => ["-T", "-l"]},
+                 "matching a regexp is taint agnostic");
 
     fresh_perl_is('$a = substr $^X, 0, 0; /$a\x{100}/i || print q,ok,',
                  'ok', {switches => ["-T", "-l"]},