From 9e5da06c35d13be2869fe329f39bdc72057d75a6 Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Fri, 20 Feb 2015 10:20:06 +0100 Subject: iozone 3.430 Closes #36987. Signed-off-by: Mike McQuaid --- Library/Formula/iozone.rb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3