Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix passing args to httperf #2

Merged
merged 1 commit into from

2 participants

@celogeek

httperf need the "=" for it's args. Otherwize it is just ignore.

I have test it with port for instance. It work with the patch, and not without.

@igrigorik
Owner

Hmm, did they change this recently? Because it certainly worked without the ='s before. What platform are you on?

@celogeek

I use ubuntu quantal (12.10)

the httperf ship with it has somehow change their way to handle params.

@igrigorik igrigorik merged commit f9984d2 into igrigorik:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 12, 2012
  1. @celogeek

    Fix passing args to httperf

    celogeek authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  autoperf.rb
View
2  autoperf.rb
@@ -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|
Something went wrong with that request. Please try again.