diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2019-08-06 22:26:00 +0000 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2019-08-14 16:25:19 +0000 |
commit | 6da7266754c28754c04cf37d1974e39766a261f6 (patch) | |
tree | 3fbbe99fd1e797946a888293d302d0f50ffbb96a /resources/tools/wrk | |
parent | 669d320bc64e41f879c047a39a66b8ec99bf4b1e (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')
-rw-r--r-- | resources/tools/wrk/wrk.py | 2 | ||||
-rwxr-xr-x | resources/tools/wrk/wrk_utils.sh | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/resources/tools/wrk/wrk.py b/resources/tools/wrk/wrk.py index b7989b8852..84d17ee7a1 100644 --- a/resources/tools/wrk/wrk.py +++ b/resources/tools/wrk/wrk.py @@ -1,4 +1,4 @@ -# Copyright (c) 2018 Cisco and/or its affiliates. +# Copyright (c) 2019 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: 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") |