Yeah, though I'm not sure exactly to implement it. It would need to create a temporary file, spawn a background job that waits for kqwait to run and then appends something to the temporary file, then back in the main test process kwqait on it with a timeout.

On 21 Jan 2014, at 22:23, Mike McQuaid <notifications@github.com> wrote:

> In Library/Formula/kqwait.rb:
> 
> > +require 'formula'
> > +
> > +class Kqwait < Formula
> > +  homepage 'https://github.com/sschober/kqwait'
> > +  url 'https://github.com/sschober/kqwait/archive/kqwait-v1.0.3.tar.gz'
> > +  sha1 '47d12184dc67b7d16ca2895c0ce0de5937fa20cb'
> > +
> > +  head 'https://github.com/sschober/kqwait.git'
> > +
> > +  def install
> > +    system "make"
> > +    bin.install "kqwait"
> > +  end
> > +
> > +  test do
> > +    system "#{bin}/kqwait", "-v"
> Last thing (possibly just a question): is it possible to make a test that actually uses the kqwait functionality?
> 
> —
> Reply to this email directly or view it on GitHub.
>