aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike Naberezny2014-05-21 18:00:48 -0700
committerMisty De Meo2014-05-21 20:40:27 -0700
commitcf34df1526a26509f91b1137c1e4905b22ed312e (patch)
treef04ff4537f3c9ddfde2291777b7b2516a65bea8b /Library
parent06bb4ef420459bd5971fc02d8f5d5adbedd3a8a2 (diff)
downloadhomebrew-cf34df1526a26509f91b1137c1e4905b22ed312e.tar.bz2
ucspi-tcp: use full path to executable, fix test failure
Closes #29477. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ucspi-tcp.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/ucspi-tcp.rb b/Library/Formula/ucspi-tcp.rb
index c5eab0834..da49a6a56 100644
--- a/Library/Formula/ucspi-tcp.rb
+++ b/Library/Formula/ucspi-tcp.rb
@@ -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