summaryrefslogtreecommitdiff
path: root/test/dtrace/helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/dtrace/helper.rb')
-rw-r--r--test/dtrace/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dtrace/helper.rb b/test/dtrace/helper.rb
index 22865aac258..1417185537a 100644
--- a/test/dtrace/helper.rb
+++ b/test/dtrace/helper.rb
@@ -32,7 +32,7 @@ module DTrace
when /darwin/i
READ_PROBES = proc do |cmd|
PTY.spawn(*cmd) do |io, _|
- break io.readlines
+ break io.readlines.each {|line| line.sub!(/\r$/, "")}
end
end
end