diff options
| author | mike@arpaia.co | 2015-03-19 16:25:13 -0700 |
|---|---|---|
| committer | Tim D. Smith | 2015-03-30 23:59:31 -0700 |
| commit | 08a4f7fc9c6932108bc2a4f1f5a07b3bae21e8f1 (patch) | |
| tree | 630ad37dbc70d87ea520e8e56e3c026b3063edd5 /Library/Formula | |
| parent | 469c90c6311e12ee12b388e7198048f6da0a0dec (diff) | |
| download | homebrew-08a4f7fc9c6932108bc2a4f1f5a07b3bae21e8f1.tar.bz2 | |
osquery 1.4.4
Closes #37895.
Signed-off-by: Tim D. Smith <git@tim-smith.us>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/osquery.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/osquery.rb b/Library/Formula/osquery.rb index e7a60e936..7c5dee811 100644 --- a/Library/Formula/osquery.rb +++ b/Library/Formula/osquery.rb @@ -3,7 +3,7 @@ require "formula" class Osquery < Formula homepage "http://osquery.io" # pull from git tag to get submodules - url "https://github.com/facebook/osquery.git", :tag => "1.4.2" + url "https://github.com/facebook/osquery.git", :tag => "1.4.4", :revision => "800dc7745e2ee81c645ca3cda7c8ca2f4c535ca4" bottle do sha1 "ce6f4994b20a231c0f882dfd00697972a3fbf476" => :yosemite @@ -52,9 +52,9 @@ class Osquery < Formula test do require 'open3' Open3.popen3("#{bin}/osqueryi") do |stdin, stdout, _| - stdin.write(".mode line\nSELECT major FROM osx_version;") + stdin.write(".mode line\nSELECT count(version) as lines FROM osquery_info;") stdin.close - assert_equal "major = 10\n", stdout.read + assert_equal "lines = 1\n", stdout.read end end end |
