Skip to content

Commit

Permalink
gnunet 0.21.2
Browse files Browse the repository at this point in the history
gnunet: update test

Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
BrewTestBot authored and chenrui333 committed Jul 8, 2024
1 parent 72b994c commit b23bba2
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions Formula/g/gnunet.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class Gnunet < Formula

Check warning on line 1 in Formula/g/gnunet.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew linkage --cached --test --strict gnunet` failed on Linux!

Indirect dependencies with linkage: gmp libtool zlib

Check warning on line 1 in Formula/g/gnunet.rb

View workflow job for this annotation

GitHub Actions / macOS 14-x86_64

`brew linkage --cached --test --strict gnunet` failed on macOS Sonoma (14)!

Indirect dependencies with linkage: gmp libgpg-error libtool

Check warning on line 1 in Formula/g/gnunet.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew linkage --cached --test --strict gnunet` failed on macOS Sonoma (14) on Apple Silicon!

Indirect dependencies with linkage: gmp libgpg-error libtool

Check warning on line 1 in Formula/g/gnunet.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

`brew linkage --cached --test --strict gnunet` failed on macOS Ventura (13)!

Indirect dependencies with linkage: gmp libgpg-error libtool

Check warning on line 1 in Formula/g/gnunet.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

`brew linkage --cached --test --strict gnunet` failed on macOS Ventura (13) on Apple Silicon!

Indirect dependencies with linkage: gmp libgpg-error libtool

Check warning on line 1 in Formula/g/gnunet.rb

View workflow job for this annotation

GitHub Actions / macOS 12-x86_64

`brew linkage --cached --test --strict gnunet` failed on macOS Monterey (12)!

Indirect dependencies with linkage: gmp libgpg-error libtool

Check warning on line 1 in Formula/g/gnunet.rb

View workflow job for this annotation

GitHub Actions / macOS 12-arm64

`brew linkage --cached --test --strict gnunet` failed on macOS Monterey (12) on Apple Silicon!

Indirect dependencies with linkage: gmp libgpg-error libtool
desc "Framework for distributed, secure and privacy-preserving applications"
homepage "https://gnunet.org/"
url "https://ftp.gnu.org/gnu/gnunet/gnunet-0.21.1.tar.gz"
mirror "https://ftpmirror.gnu.org/gnunet/gnunet-0.21.1.tar.gz"
sha256 "93e68b3eaca7087273e3d7685fe6ae38b2e8055e4c9e700d360dd4055249785c"
url "https://ftp.gnu.org/gnu/gnunet/gnunet-0.21.2.tar.gz"
mirror "https://ftpmirror.gnu.org/gnunet/gnunet-0.21.2.tar.gz"
sha256 "8c2351268e9b8ba2ad288b8b337ce399f79c18e3ffd960803f4ed5de7dda9fa1"
license "AGPL-3.0-or-later"

bottle do
Expand Down Expand Up @@ -37,8 +37,12 @@ def install
end

test do
system "#{bin}/gnunet-config", "--rewrite"
output = shell_output("#{bin}/gnunet-config -s arm")
assert_match "BINARY = gnunet-service-arm", output
(testpath/"gnunet.conf").write <<~EOS
[arm]
START_DAEMON = YES
START_SERVICES = "dns,hostlist,ats"
EOS

system bin/"gnunet-arm", "-c", "gnunet.conf", "-s"
end
end

0 comments on commit b23bba2

Please sign in to comment.