diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/psgrep.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/psgrep.rb b/Library/Formula/psgrep.rb index 8abb8544c..82ab9490d 100644 --- a/Library/Formula/psgrep.rb +++ b/Library/Formula/psgrep.rb @@ -11,4 +11,10 @@ class Psgrep < Formula bin.install "psgrep" man1.install "psgrep.1" end + + test do + output = `#{bin}/psgrep #{Process.pid}` + assert output.include?($0) + assert_equal 0, $?.exitstatus + end end |
