From 0c238635800305b9480643357b116df9e9bad574 Mon Sep 17 00:00:00 2001 From: matteo Date: Sat, 24 Jan 2026 17:45:17 +0100 Subject: [PATCH] fix(functional-testsuite): timeout shorter, 2s => 0.2s --- tests/functional/run-tests.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/functional/run-tests.sh b/tests/functional/run-tests.sh index 17ff162..f2cbda1 100755 --- a/tests/functional/run-tests.sh +++ b/tests/functional/run-tests.sh @@ -157,7 +157,7 @@ test_str() { # Arg echo -e -n $Blue "= [ARG] " $Color_Off - timeout 2 $executable -c "$2" &> $output + timeout 0.2 $executable -c "$2" &> $output actual_code=$? $ref_executable -c "$2" &> $ref_output ref_code=$? @@ -166,7 +166,7 @@ test_str() { # Script echo -e -n $Blue "= [SCRIPT]" $Color_Off - timeout 2 $executable "$tmp_script" &> $output + timeout 0.2 $executable "$tmp_script" &> $output actual_code=$? $ref_executable "$tmp_script" &> $ref_output ref_code=$? @@ -175,7 +175,7 @@ test_str() { # Stdin echo -e -n $Blue "= [STDIN] " $Color_Off - timeout 2 $executable < "$tmp_script" &> $output + timeout 0.2 $executable < "$tmp_script" &> $output actual_code=$? $ref_executable < "$tmp_script" &> $ref_output ref_code=$? @@ -204,7 +204,7 @@ test_script() { # Script echo -e -n "= [SCRIPT] " - timeout 2 $executable "$tmp_script" &> $output + timeout 0.2 $executable "$tmp_script" &> $output actual_code=$? $ref_executable "$tmp_script" &> $ref_output ref_code=$? @@ -213,7 +213,7 @@ test_script() { # Stdin echo -e -n "= [STDIN] " - timeout 2 $executable < "$tmp_script" &> $output + timeout 0.2 $executable < "$tmp_script" &> $output actual_code=$? $ref_executable < "$2" &> $ref_output ref_code=$?