1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

tests: fix api-stress test

This commit is contained in:
Steffen Vogel 2018-12-04 00:30:44 +01:00
parent b745fe930f
commit 8df45ab5fb

View file

@ -49,7 +49,7 @@ mkfifo ${FIFO}
exec 5<>${FIFO}
JOBS=""
for J in {1..${RUNS}}; do
for J in $(seq 1 ${RUNS}); do
(
set -e
trap "echo error-trap >> ${FIFO}" ERR
@ -77,7 +77,7 @@ wait $PID
echo "Check return codes"
FAILED=0
SUCCESS=0
for J in {1..${RUNS}}; do
for J in $(seq 1 ${RUNS}); do
read status <&5
if [ "$status" == "success" ]; then