From 06189c2a203caf63fd85cb515d17471bf3e8ddb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 3 Apr 2019 00:22:42 +0200 Subject: [PATCH] Update benchmark.sh --- benchmark/benchmark.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/benchmark/benchmark.sh b/benchmark/benchmark.sh index 084a0a7..0796817 100644 --- a/benchmark/benchmark.sh +++ b/benchmark/benchmark.sh @@ -55,7 +55,8 @@ do echo -e "Output of $function is:\n" curl --data-binary "@$function.body.txt" --header "Host: $function.kubeless" --header "Content-Type:application/json" http://$kuberhost/$function echo -e "\n" - tr -d '\n' < $function.body.txt + tr -d '\n' < $function.body.txt > $function.body.txt + tr -d '\r' < $function.body.txt > $function.body.txt for connection in "${connections[@]}" do if [[ $connection -lt 41 ]]