diff options
| author | Chilledheart | 2014-10-15 10:24:54 +0800 |
|---|---|---|
| committer | Jack Nagel | 2014-10-16 22:41:36 -0500 |
| commit | 9c0940bb4caad97ff8b828b44c8bee59a02ffcb5 (patch) | |
| tree | f375580c88249788b007eab09eb7087cf65d3516 /Library/Formula | |
| parent | a5f96ab6c7d0fd215e3c3965be00a7e76464ba3a (diff) | |
| download | homebrew-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.rb | 5 |
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 |
