diff options
| author | Mike Naberezny | 2014-05-21 18:00:48 -0700 |
|---|---|---|
| committer | Misty De Meo | 2014-05-21 20:40:27 -0700 |
| commit | cf34df1526a26509f91b1137c1e4905b22ed312e (patch) | |
| tree | f04ff4537f3c9ddfde2291777b7b2516a65bea8b /Library | |
| parent | 06bb4ef420459bd5971fc02d8f5d5adbedd3a8a2 (diff) | |
| download | homebrew-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.rb | 4 |
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 |
