Commit
72b166521443a1b8 changed perl to using File::Glob to implement the glob
builtin. Previously glob was implemented by spawning a csh, hence globbing was
not allowed on tainted values. The test for this was skipped, but never removed.
use File::Spec::Functions;
BEGIN { require './test.pl'; }
-plan tests => 693;
+plan tests => 691;
$| = 1;
test tainted $line;
}
-# Globs should be forbidden, except under VMS,
-# which doesn't spawn an external program.
-SKIP: {
- skip "globs should be forbidden", 2 if 1 or $Is_VMS;
-
- my @globs = eval { <*> };
- test @globs == 0 && $@ =~ /^Insecure dependency/;
-
- @globs = eval { glob '*' };
- test @globs == 0 && $@ =~ /^Insecure dependency/;
-}
-
# Output of commands should be tainted
{
my $foo = `$echo abc`;