diff options
Diffstat (limited to 'lib/perl5db.t')
-rw-r--r-- | lib/perl5db.t | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/perl5db.t b/lib/perl5db.t index 3f68759efe..b2f72661c6 100644 --- a/lib/perl5db.t +++ b/lib/perl5db.t @@ -27,7 +27,7 @@ my $dev_tty = '/dev/tty'; } } -plan(8); +plan(9); sub rc { open RC, ">", ".perldb" or die $!; @@ -167,6 +167,15 @@ SKIP: { 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'); + is($output, '[$^X][done]', "taint"); +} + # clean up. |