redis: test for var path existence.
Closes #11458. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
c91fd52e1c
commit
9ba3dfbef3
1 changed files with 1 additions and 0 deletions
|
@ -80,5 +80,6 @@ class Redis < Formula
|
||||||
|
|
||||||
test do
|
test do
|
||||||
system bin/"redis-server", "--test-memory", "2"
|
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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue