Permalink
Browse files

Merge pull request #2 from celogeek/master

Fix passing args to httperf
  • Loading branch information...
igrigorik committed Nov 13, 2012
2 parents 085959d + 58d9c08 commit f9984d22b2f252014a1a317b52a9bf4ee3432480
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoperf.rb
View
@@ -61,7 +61,7 @@ def benchmark(conf)
conf['wlog'].push wlog
wlog_opt = "--wlog n,#{wlog}"
end
- httperf_cmd = "httperf --hog --server #{conf['host']} --uri #{conf['uri']} --port #{conf['port']} #{httperf_opt} #{wlog_opt}"
+ httperf_cmd = "httperf --hog --server=#{conf['host']} --uri=#{conf['uri']} --port=#{conf['port']} #{httperf_opt} #{wlog_opt}"
res = Hash.new("")
IO.popen("#{httperf_cmd} 2>&1") do |pipe|

0 comments on commit f9984d2

Please sign in to comment.