sysdig 0.1.95

Closes Homebrew/homebrew#36223.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Mateusz Gajewski 2015-01-26 09:27:38 +01:00 committed by Mike McQuaid
parent 68db980ce7
commit 43d1686207

View file

@ -2,8 +2,8 @@ require "formula"
class Sysdig < Formula
homepage "http://www.sysdig.org/"
url "https://github.com/draios/sysdig/archive/0.1.92.tar.gz"
sha1 "77c43f76b1dc987c2d1f5929bf669e9f11b22aaa"
url "https://github.com/draios/sysdig/archive/0.1.95.tar.gz"
sha1 "0e07da4fa4b9d8917e73591ee8d60f43e9bacef6"
head "https://github.com/draios/sysdig.git"
@ -41,7 +41,7 @@ class Sysdig < Formula
# uses a custom output format because evt.time (in default format) is not UTC
expected_output = "1 open fd=5(<f>/tmp/sysdig/sample.scap) name=sample.scap(/tmp/sysdig/sample.scap) flags=262(O_TRUNC|O_CREAT|O_WRONLY) mode=0"
assert_equal expected_output, `#{bin}/sysdig -r #{share}/demos/sample.scap -p "%evt.num %evt.type %evt.args" evt.type=open fd.name contains /tmp/sysdig/sample.scap`.strip
assert_equal expected_output, `#{bin}/sysdig -r #{share}/demos/sample.scap -p "%evt.num %evt.type %evt.args" "evt.type=open and evt.arg.name contains /tmp/sysdig/sample.scap"`.strip
assert_equal 0, $?.exitstatus
end
end