aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/wrk/wrk_utils.sh
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2019-08-06 22:26:00 +0000
committerVratko Polak <vrpolak@cisco.com>2019-08-14 16:25:19 +0000
commit6da7266754c28754c04cf37d1974e39766a261f6 (patch)
tree3fbbe99fd1e797946a888293d302d0f50ffbb96a /resources/tools/wrk/wrk_utils.sh
parent669d320bc64e41f879c047a39a66b8ec99bf4b1e (diff)
VAT-to-PAPI: Fix HTTP/TCP tests
Change-Id: Ie728bc73eb7429d246e82dd195fc63191c3ac51d Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'resources/tools/wrk/wrk_utils.sh')
-rwxr-xr-xresources/tools/wrk/wrk_utils.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/tools/wrk/wrk_utils.sh b/resources/tools/wrk/wrk_utils.sh
index 1c77fea731..16af61416b 100755
--- a/resources/tools/wrk/wrk_utils.sh
+++ b/resources/tools/wrk/wrk_utils.sh
@@ -74,7 +74,7 @@ function wrk_utils.traffic_1_url_1_core {
if [ "${header}" != "None" ]; then
header="${header}"
else
- header=""
+ header="''"
fi
taskset --cpu-list ${cpu} \
@@ -134,7 +134,7 @@ function wrk_utils.traffic_n_urls_n_cores {
if [ "${header}" != "None" ]; then
header="${header}"
else
- header=""
+ header="''"
fi
urls=$(echo ${urls} | tr ";" "\n")
@@ -204,7 +204,7 @@ function wrk_utils.traffic_n_urls_m_cores {
if [ "${header}" != "None" ]; then
header="${header}"
else
- header=""
+ header="''"
fi
urls=$(echo ${urls} | tr ";" "\n")