Permalink
Browse files

pdns: fix test

  • Loading branch information...
DomT4 committed May 17, 2016
1 parent 84edcf8 commit df1e12a9be619edf8fa50f4894eb15f550f89b6c
Showing with 8 additions and 5 deletions.
  1. +8 −5 Formula/pdns.rb
View
@@ -34,10 +34,12 @@ def install
# https://github.com/Homebrew/homebrew/pull/33739
ENV.deparallelize
args = ["--prefix=#{prefix}",
"--with-lua",
"--with-openssl=#{Formula["openssl"].opt_prefix}",
"--with-sqlite3"]
args = %W[
--prefix=#{prefix}
--with-lua
--with-openssl=#{Formula["openssl"].opt_prefix}
--with-sqlite3
]
# Include the PostgreSQL backend if requested
if build.with? "pgsql"
@@ -56,6 +58,7 @@ def install
end
test do
assert_match "PowerDNS Authoritative Server 3.4.9", shell_output("#{bin}/pdns_server --version")
output = shell_output("#{sbin}/pdns_server --version 2>&1", 99)
assert_match "PowerDNS Authoritative Server #{version}", output
end
end

0 comments on commit df1e12a

Please sign in to comment.