diff options
author | Jerry D. Hedden <jdhedden@cpan.org> | 2010-10-26 22:11:32 +0100 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2010-10-26 22:11:32 +0100 |
commit | 4d2eb54d4d30c9c5b093de9a57c324d5551c58fe (patch) | |
tree | e66339c001bf053a5e114d19fa5d20da4668d87c /t/io | |
parent | 59d53fd6002cff7136e93d0aa337abc97be636dd (diff) | |
download | perl-4d2eb54d4d30c9c5b093de9a57c324d5551c58fe.tar.gz |
[PATCH] Cleanup output from t/io/defout.t RT#78572
t/io/defout.t pollutes the output of 'make test':
t/io/defout....................................................$a;
# write
ok
The attached patch fixes this.
Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Diffstat (limited to 't/io')
-rw-r--r-- | t/io/defout.t | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/t/io/defout.t b/t/io/defout.t index dda3b4c997..ea59f723d3 100644 --- a/t/io/defout.t +++ b/t/io/defout.t @@ -12,8 +12,7 @@ BEGIN { require './test.pl'; } -plan tests => 16; - +plan tests => 17; my $stderr = *STDERR; select($stderr); @@ -25,12 +24,12 @@ $stderr = 1; # whoops, PL_defoutgv no longer a GV! ok print(""), 'print'; ok select(), 'select'; -$a = 'fooo'; +next_test(); format STDERR = #@<< -$a; +ok 3 . -ok ! write(), 'write'; +ok ! write(); ok($^, '$^'); ok($~, '$~'); |