Also improves the test, from just checking that the binary can start, to generating random keys (which won't be stored anywhere). Fixes test failures on machines without tuntap fully installed.

Closes #23.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
This commit is contained in:
Moritz Fago 2016-04-03 17:51:46 +02:00 committed by Andrew Janke
parent 5027af7c0f
commit aa8b6b4251

View file

@ -1,8 +1,8 @@
class Fastd < Formula
desc "Fast and Secure Tunnelling Daemon"
homepage "https://projects.universe-factory.net/projects/fastd"
url "https://projects.universe-factory.net/attachments/download/81/fastd-17.tar.xz"
sha256 "26d4a8bf2f8cc52872f836f6dba55f3b759f8c723699b4e4decaa9340d3e5a2d"
url "https://projects.universe-factory.net/attachments/download/86/fastd-18.tar.xz"
sha256 "714ff09d7bd75f79783f744f6f8c5af2fe456c8cf876feaa704c205a73e043c9"
head "https://git.universe-factory.net/fastd/", :using => :git
bottle do
@ -33,6 +33,6 @@ class Fastd < Formula
end
test do
system "#{bin}/fastd"
system "#{bin}/fastd --generate-key"
end
end