From 70c0554dec9314bba913aa81e7947070ab4f505c Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Sat, 22 Aug 2015 23:19:05 +0100 Subject: [PATCH] daemontools: add test Closes Homebrew/homebrew#43184. Signed-off-by: Dominyk Tiller --- Formula/daemontools.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Formula/daemontools.rb b/Formula/daemontools.rb index fd235a44c7..fc1ece3b52 100644 --- a/Formula/daemontools.rb +++ b/Formula/daemontools.rb @@ -10,4 +10,8 @@ class Daemontools < Formula bin.install Dir["command/*"] end end + + test do + assert_match /Homebrew/, shell_output("#{bin}/softlimit -t 1 echo 'Homebrew'") + end end