diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/rrdtool.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/rrdtool.rb b/Library/Formula/rrdtool.rb index 0ee816373..b6e5e3900 100644 --- a/Library/Formula/rrdtool.rb +++ b/Library/Formula/rrdtool.rb @@ -46,9 +46,10 @@ class Rrdtool < Formula end def test - system "ruby", prefix+"test.rb" - system "open test.png" - puts "You may want to `rm test.{rrd,png}`" + mktemp do + system "ruby", prefix/"test.rb" + system "/usr/bin/qlmanage", "-p", "test.png" + end end end |
