diff options
| author | Baptiste Fontaine | 2015-02-20 10:20:06 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-20 12:14:06 +0000 |
| commit | 9e5da06c35d13be2869fe329f39bdc72057d75a6 (patch) | |
| tree | 6a49d90c3ed79f5e3f90bee4dda62624bb6f676b /Library/Formula | |
| parent | ecd47eb1c778b1c072138f2aa0d1a7ed2fcc278d (diff) | |
| download | homebrew-9e5da06c35d13be2869fe329f39bdc72057d75a6.tar.bz2 | |
iozone 3.430
Closes #36987.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/iozone.rb | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Library/Formula/iozone.rb b/Library/Formula/iozone.rb index 0b9531524..e682179f3 100644 --- a/Library/Formula/iozone.rb +++ b/Library/Formula/iozone.rb @@ -1,9 +1,7 @@ -require "formula" - class Iozone < Formula homepage "http://www.iozone.org/" - url "http://www.iozone.org/src/current/iozone3_428.tar" - sha1 "0238f938d35eff5371ebd22a98769d8b8bfc00d7" + url "http://www.iozone.org/src/current/iozone3_430.tar" + sha1 "de02b10fcde6bd60e0c805e3abfc0aed15e85ac1" # Patch by @nijotz, adds O_DIRECT support when using -I flag. # See: https://github.com/Homebrew/homebrew/pull/10585 @@ -13,13 +11,16 @@ class Iozone < Formula cd "src/current" do system "make", "macosx", "CC=#{ENV.cc}" bin.install "iozone" - (share/"iozone").install "Generate_Graphs", "client_list", "gengnuplot.sh", "gnu3d.dem", "gnuplot.dem", "gnuplotps.dem", "iozone_visualizer.pl", "report.pl" + shared = %w[Generate_Graphs client_list gengnuplot.sh gnu3d.dem + gnuplot.dem gnuplotps.dem iozone_visualizer.pl report.pl] + (share/"iozone").install(*shared) end man1.install "docs/iozone.1" end test do - assert_match /File size set to 16384 kB/, shell_output("#{bin}/iozone -I -s 16M") + assert_match "File size set to 16384 kB", + shell_output("#{bin}/iozone -I -s 16M") end end |
