<commit_before>class PhoronixTestSuite < Formula
  desc "Automated testing framework"
  homepage "https://www.phoronix-test-suite.com/"
  url "https://www.phoronix-test-suite.com/releases/phoronix-test-suite-7.0.1.tar.gz"
  sha256 "436d949af604248776d725afb0f4eba6b8f9b1bf134d1f97544baf00e67c9d78"

  bottle do
    cellar :any_skip_relocation
    sha256 "726f227d374a8f18c33a2200f1764023af7255232390b5a66356644789707e76" => :sierra
    sha256 "2821b90bee0c1b736fc7bbf2ddff811f4e0501483ad9958a034a00354c4dc18c" => :el_capitan
    sha256 "992866a9deb933c96c8863efeba613acf2176ce027f82c89de71c050246d2e89" => :yosemite
    sha256 "b1387c352b9fdc9153ce6fac4c8022486370611e2dc62079698d8f7ea635d099" => :mavericks
  end

  patch :DATA

  def install
    system "./install-sh", prefix
    bash_completion.install "./pts-core/static/bash_completion"
  end

  test do
    assert_match "Ringsaker", shell_output("#{bin}/phoronix-test-suite version | grep -v ^$")
  end
end

__END__
diff -ur a/install-sh b/install-sh<commit_msg>phoronix-test-suite: update 7.0.1 bottle.<commit_after>class PhoronixTestSuite < Formula
  desc "Automated testing framework"
  homepage "https://www.phoronix-test-suite.com/"
  url "https://www.phoronix-test-suite.com/releases/phoronix-test-suite-7.0.1.tar.gz"
  sha256 "436d949af604248776d725afb0f4eba6b8f9b1bf134d1f97544baf00e67c9d78"

  bottle do
    cellar :any_skip_relocation
    sha256 "c29c9748f6ba2c76c20a0dedbc96b72d0dc4ccd243506d5752c1f9e42964aece" => :sierra
    sha256 "128720345d82750d788cf4c50d0865d5922041018315633233266cffd6693f02" => :el_capitan
    sha256 "128720345d82750d788cf4c50d0865d5922041018315633233266cffd6693f02" => :yosemite
  end

  patch :DATA

  def install
    system "./install-sh", prefix
    bash_completion.install "./pts-core/static/bash_completion"
  end

  test do
    assert_match "Ringsaker", shell_output("#{bin}/phoronix-test-suite version | grep -v ^$")
  end
end

__END__
diff -ur a/install-sh b/install-sh
{'fraction_non_alphanumeric': 0.09584178498985801, 'fraction_numerical': 0.21906693711967545, 'mean_word_length': 5.146417445482866, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4414826', 'n_tokens_mistral': 1089, 'n_tokens_neox': 856, 'n_words': 109}