From ce463b76b48541c7ab88d3a878fdf362a3764e57 Mon Sep 17 00:00:00 2001 From: craff Date: Sat, 14 Jan 2023 17:51:55 -1000 Subject: [PATCH] use $2 for -j too in tests/stress.sh --- tests/stress.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/stress.sh b/tests/stress.sh index 2735fab8..bc5dc57f 100755 --- a/tests/stress.sh +++ b/tests/stress.sh @@ -1,12 +1,13 @@ #!/bin/bash SERVER=$1 +nb=$2 + PORT=8088 -"$SERVER" . -p $PORT & +"$SERVER" . -p $PORT -j $nb & PID=$! url=http://localhost:${PORT}/foo_50 -nb=$2 sleep_time=0 for (( c=1; c<=$nb; c++ )); do