class Krash < Formula desc "Crash nodes on demand" homepage "https://git.segundo.io/Kubernetes/krash/about/" url "https://git.segundo.io/Kubernetes/krash/snapshot/krash-1.0.0.tar.gz" sha256 "ec44cc9f4740b2503759773dbd33356a3a9aeedac67c4775dac7f91846865ae7" license :cannot_represent head " https://git.segundo.io/Kubernetes/krash", branch: "master" depends_on "kubernetes-cli" depends_on "autoconf" => :build depends_on "automake" => :build def install system "aclocal" system "autoconf" system "automake", "--add-missing" system "./configure", "--prefix=#{prefix}" system "make", "install" end test do assert_match " [-r|--reboot]", shell_output("#{bin}/krash", 1) assert_match " [-r|--reboot]", shell_output("kubectl nodecrash", 1) end end