From 6857e2ed34b35e2a8168f4cd47d3cc3e057a92bd Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 26 Oct 2013 15:39:39 -0700 Subject: [PATCH] add note about test path to create template --- Library/Homebrew/cmd/create.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb index cd23153bca..9a718b77df 100644 --- a/Library/Homebrew/cmd/create.rb +++ b/Library/Homebrew/cmd/create.rb @@ -164,6 +164,9 @@ class FormulaCreator # 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. Run the test with `brew test #{name}`. + # + # The installed folder is not in the path, so use the entire path to any + # executables being tested: `system "#{bin}/program", "--version"`. system "false" end end