From b23bba21e17a5efd4b8319ed08b56cc8b2068ff8 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sat, 8 Jun 2024 12:34:20 +0000 Subject: [PATCH] gnunet 0.21.2 gnunet: update test Signed-off-by: Rui Chen --- Formula/g/gnunet.rb | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Formula/g/gnunet.rb b/Formula/g/gnunet.rb index 5d2ccfb9c3c71..11f5b00ed74a2 100644 --- a/Formula/g/gnunet.rb +++ b/Formula/g/gnunet.rb @@ -1,9 +1,9 @@ class Gnunet < Formula 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 @@ -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