}
}
-plan(8);
+plan(9);
sub rc {
open RC, ">", ".perldb" or die $!;
like($output, "All tests successful.", "[perl #66110]");
}
+# taint tests
+
+{
+ local $ENV{PERLDB_OPTS} = "ReadLine=0 NonStop=1";
+ my $output = runperl(switches => [ '-d', '-T' ], stderr => 1,
+ progfile => '../lib/perl5db/t/taint');
+ chomp $output if $^O eq 'VMS'; # newline guaranteed at EOF
+ is($output, '[$^X][done]', "taint");
+}
+
# clean up.