aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMax Howell2009-12-06 15:30:23 +0000
committerMax Howell2009-12-06 15:30:23 +0000
commit729f3fabc5d3d98eda41e67f78cba1ba44ccc136 (patch)
treea835a1ab0e183074fd52e907e7dd1f1c5e004205 /Library/Formula
parentdc4c88e649b810676574ce622e2481e231a8909e (diff)
downloadhomebrew-729f3fabc5d3d98eda41e67f78cba1ba44ccc136.tar.bz2
Add regression test function
Nothing runs it yet, but we can add plumbing later.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/erlang.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/erlang.rb b/Library/Formula/erlang.rb
index 473868559..006fc176e 100644
--- a/Library/Formula/erlang.rb
+++ b/Library/Formula/erlang.rb
@@ -64,4 +64,8 @@ class Erlang <Formula
ErlangManuals.new.brew { man.install Dir['man/*'] }
end
+
+ def test
+ "erl -noshell -eval 'crypto:start().' -s init stop"
+ end
end