redis: test for var path existence.

Closes #11458.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Mike McQuaid 2017-03-22 09:11:41 +00:00
parent c91fd52e1c
commit 9ba3dfbef3

View file

@ -80,5 +80,6 @@ class Redis < Formula
test do
system bin/"redis-server", "--test-memory", "2"
%w[run db/redis log].each { |p| assert (var/p).exist?, "#{var/p} doesn't exist!" }
end
end