aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/redis.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/redis.rb b/Library/Formula/redis.rb
index 988dfb31f..1289a946b 100644
--- a/Library/Formula/redis.rb
+++ b/Library/Formula/redis.rb
@@ -71,4 +71,8 @@ class Redis < Formula
</plist>
EOS
end
+
+ test do
+ system "#{bin}/redis-server", "--test-memory", "2"
+ end
end