aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMax Howell2011-09-20 03:38:30 +0100
committerMax Howell2011-09-20 03:39:07 +0100
commit28aef26a47dfab5a7bde48363f98b63233413ebf (patch)
tree12d9cfdae94713c27ecf241f2f7e177ae35b24e3 /Library/Homebrew
parentd05478e85b776bf262e6bf2ca7b4b883a25de5ed (diff)
downloadbrew-28aef26a47dfab5a7bde48363f98b63233413ebf.tar.bz2
More docs for `brew create` generated formula tests
To assist those new to stuff.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/create.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb
index c7fe22fc7..838d8eea3 100644
--- a/Library/Homebrew/cmd/create.rb
+++ b/Library/Homebrew/cmd/create.rb
@@ -124,8 +124,12 @@ class FormulaCreator
end
def test
- # this will fail we won't accept that, make it test the program works!
- system "/usr/bin/false"
+ # This test will fail and we won't accept that! It's enough to just
+ # replace "false" with the main program this formula installs, but
+ # it'd be nice if you were more thorough. Test the test with
+ # `brew test #{name}`. Remove this comment before submitting
+ # your pull request!
+ system "false"
end
end
EOS