diff options
author | ivan <ivan> | 2011-04-18 23:15:19 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-04-18 23:15:19 +0000 |
commit | 75162bb14b3e38d66617077843f4dfdcaf09d5c4 (patch) | |
tree | d89dd49a476cf2f0859ed6a0adc2992ea6d69d04 /rt/t/web/command_line.t | |
parent | fc6209f398899f0211cfcedeb81a3cd65e04a941 (diff) |
import rt 3.8.10
Diffstat (limited to 'rt/t/web/command_line.t')
-rw-r--r-- | rt/t/web/command_line.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/t/web/command_line.t b/rt/t/web/command_line.t index 3fc279bf3..884b064e6 100644 --- a/rt/t/web/command_line.t +++ b/rt/t/web/command_line.t @@ -532,7 +532,7 @@ sub check_attachment { expect_handle->before() =~ $attachment_regex; my $attachment_id = $1; expect_send("show ticket/$ticket_id/attachments/$attachment_id/content","Fetching Attachment"); - open (my $fh, $attachment_path) or die "Can't open $attachment_path: $!"; + open( my $fh, '<', $attachment_path ) or die "Can't open $attachment_path: $!"; my $attachment_content = do { local($/); <$fh> }; close $fh; chomp $attachment_content; |