aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorfbrosson2014-06-30 17:36:13 +0200
committerJack Nagel2014-07-07 09:31:15 -0500
commitc93602a679667b6cc1d8bdd5b943e37f4cffa8df (patch)
treea883487c172a71041a9773e8c13f31d629801072 /Library/Formula
parentf55977cc5f34792e464f22f18e05ce42ca46dc3e (diff)
downloadhomebrew-c93602a679667b6cc1d8bdd5b943e37f4cffa8df.tar.bz2
smake: add test
Closes #30566. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/smake.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/smake.rb b/Library/Formula/smake.rb
index d2bf96e76..579a9a86c 100644
--- a/Library/Formula/smake.rb
+++ b/Library/Formula/smake.rb
@@ -18,4 +18,8 @@ class Smake < Formula
man1.install_symlink Dir["#{libexec}/share/man/man1/*.1"]
man5.install_symlink Dir["#{libexec}/share/man/man5/*.5"]
end
+
+ test do
+ system "#{bin}/smake", "-version"
+ end
end