aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorChilledheart2014-10-15 10:24:54 +0800
committerJack Nagel2014-10-16 22:41:36 -0500
commit9c0940bb4caad97ff8b828b44c8bee59a02ffcb5 (patch)
treef375580c88249788b007eab09eb7087cf65d3516 /Library/Formula
parenta5f96ab6c7d0fd215e3c3965be00a7e76464ba3a (diff)
downloadhomebrew-9c0940bb4caad97ff8b828b44c8bee59a02ffcb5.tar.bz2
mosh: add a simple test case
Closes #33095. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mobile-shell.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/mobile-shell.rb b/Library/Formula/mobile-shell.rb
index f8c390845..26d6bffbb 100644
--- a/Library/Formula/mobile-shell.rb
+++ b/Library/Formula/mobile-shell.rb
@@ -33,4 +33,9 @@ class MobileShell < Formula
system "make", "check" if build.with? "check"
system "make", "install"
end
+
+ test do
+ ENV["TERM"]="xterm"
+ system "#{bin}/mosh-client", "-c"
+ end
end