kitchen-sync: simplify test

Closes Homebrew/homebrew#42973.
This commit is contained in:
Tim D. Smith 2015-08-16 00:14:26 -07:00
parent 08f6df400f
commit f1ac85a9b6

View file

@ -29,8 +29,6 @@ class KitchenSync < Formula
end
test do
assert File.exist?("#{bin}/ks")
assert File.exist?("#{bin}/ks_mysql") if build.with? "mysql"
assert File.exist?("#{bin}/ks_postgresql") if build.with? "postgresql"
shell_output "#{bin}/ks 2>&1", 1
end
end