fluent-bit 0.6.0

Make more practical usage test with daemon mode

Closes Homebrew/homebrew#48628.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
Hiroshi Hatake 2016-01-30 18:01:28 +09:00 committed by Baptiste Fontaine
parent ffd2426d48
commit c1a110a0db

View file

@ -1,8 +1,8 @@
class FluentBit < Formula class FluentBit < Formula
desc "Data Collector for IoT" desc "Data Collector for IoT"
homepage "https://github.com/fluent/fluent-bit" homepage "https://github.com/fluent/fluent-bit"
url "https://github.com/fluent/fluent-bit/archive/v0.5.1.tar.gz" url "https://github.com/fluent/fluent-bit/archive/v0.6.0.tar.gz"
sha256 "779206f2f832987c3d3419e5a194f0b0288fe129ce2b2e264750e9618671f3ce" sha256 "0de74eebeb629b12ce342b671f12558a6339579887c7b8c87634be4d99ac8d52"
head "https://github.com/fluent/fluent-bit.git" head "https://github.com/fluent/fluent-bit.git"
@ -23,7 +23,7 @@ class FluentBit < Formula
end end
test do test do
io = IO.popen("#{bin}/fluent-bit --input stdin --output stdout") io = IO.popen("#{bin}/fluent-bit --input stdin --output stdout --daemon")
sleep 1 sleep 1
Process.kill("SIGINT", io.pid) Process.kill("SIGINT", io.pid)
Process.wait(io.pid) Process.wait(io.pid)