diff options
-rwxr-xr-x | t/op/misc.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/op/misc.t b/t/op/misc.t index f0d7f547fc..f4424946a9 100755 --- a/t/op/misc.t +++ b/t/op/misc.t @@ -371,8 +371,8 @@ argv <e> # fdopen from a system descriptor to a system descriptor used to close # the former. open STDERR, '>&=STDOUT' or die $!; -select STDOUT; $| = 1; print fileno STDOUT; -select STDERR; $| = 1; print fileno STDERR; +select STDOUT; $| = 1; print fileno STDOUT or die $!; +select STDERR; $| = 1; print fileno STDERR or die $!; EXPECT 1 2 |