From 22d1dbddc8fae24eb864b009f99cca633720831f Mon Sep 17 00:00:00 2001 From: Hamdi LAADHARI Date: Sun, 24 Nov 2024 18:32:50 +0000 Subject: [PATCH] wip --- .github/workflows/test-formulas.yml | 1 - Formula/ab.rb | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-formulas.yml b/.github/workflows/test-formulas.yml index 940ec01..1c28d3e 100644 --- a/.github/workflows/test-formulas.yml +++ b/.github/workflows/test-formulas.yml @@ -48,7 +48,6 @@ jobs: for formula in ${FORMULAS}; do echo "Testing formula: $formula" brew install dockbrew/tap/$formula || echo "Error installing $formula" - ls `brew --repository`/Library/Taps/*/* brew audit --strict --new --online dockbrew/tap/$formula brew test dockbrew/tap/$formula done diff --git a/Formula/ab.rb b/Formula/ab.rb index c77abbf..c9b03ad 100644 --- a/Formula/ab.rb +++ b/Formula/ab.rb @@ -1,5 +1,5 @@ class Ab < Formula - desc "install ApacheBench as a docker container" + desc "Install ApacheBench as a docker container" homepage "https://github.com/jfrazelle/dockerfiles/tree/master/ab" url "https://github.com/dockbrew/ab/archive/2.3.tar.gz" version "2.3" @@ -12,7 +12,6 @@ def install end test do - system "#{bin}/ab", "-V" - assert_match "version", shell_output("#{bin}/ab help") + system bin/"ab", "-V" end end