Fix diagnostics in the test script

This commit is contained in:
Alexey Milovidov 2024-08-04 23:53:54 +02:00
parent 1e19459610
commit 0bdaa57023

View File

@ -260,7 +260,7 @@ function run_tests()
| ts '%Y-%m-%d %H:%M:%S' \
| tee -a test_output/test_result.txt
set -e
DURATION=$((START_TIME - SECONDS))
DURATION=$((SECONDS - START_TIME))
echo "Elapsed ${DURATION} seconds."
if [[ $DURATION -ge $TIMEOUT ]]