ucspi-tcp: use full path to executable, fix test failure

Closes Homebrew/homebrew#29477.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
Mike Naberezny 2014-05-21 18:00:48 -07:00 committed by Misty De Meo
parent 65f0d034ca
commit 7ada678ef7

View file

@ -20,6 +20,8 @@ class UcspiTcp < Formula
end
test do
system "tcpserver"
out = `#{bin}/tcpserver 2>&1`
assert out.include?("usage: tcpserver")
assert_equal 100, $?.exitstatus
end
end