Skip to content

Commit

Permalink
telegraf: use full path in test
Browse files Browse the repository at this point in the history
  • Loading branch information
bfontaine committed Jan 15, 2016
1 parent 25b5c90 commit f330ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Formula/telegraf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def plist; <<-EOS.undent
end

test do
(testpath/"config.toml").write shell_output("telegraf -sample-config")
(testpath/"config.toml").write shell_output("#{bin}/telegraf -sample-config")
system "telegraf", "-config", testpath/"config.toml", "-test",
"-filter", "cpu:mem"
end
Expand Down

0 comments on commit f330ec0

Please sign in to comment.