mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 11:15:35 -05:00
use $2 for -j too in tests/stress.sh
This commit is contained in:
parent
dc7fb3b87f
commit
ce463b76b4
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue