diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2019-08-06 22:26:00 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-08-15 06:00:51 +0000 |
commit | 44857ca630f74fbd6019c0ec9c877e3b75afc0a3 (patch) | |
tree | 39fd3bafb4130e7d20361d665dfb03b8b68a06c6 /resources/tools | |
parent | 4e288f27c54e9cefc62ccbf277a1c1ca7b048ff9 (diff) |
VAT-to-PAPI: Fix HTTP/TCP tests
Change-Id: Ie728bc73eb7429d246e82dd195fc63191c3ac51d
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
(cherry picked from commit 6da7266754c28754c04cf37d1974e39766a261f6)
Diffstat (limited to 'resources/tools')
-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") |