better output

This commit is contained in:
Maximilian Keßler 2023-11-05 12:58:45 +01:00
parent 667da043e3
commit d221678399
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -9,10 +9,11 @@ while read -r instance opt; do
if [ "$result" -eq "$opt" ]; if [ "$result" -eq "$opt" ];
then then
SUCC+=("$instance: $opt") SUCC+=("$instance: $opt")
echo "$instance passed"
else else
FAILED+=("$instance: $result/$opt") FAILED+=("$instance: $result/$opt")
echo "$instance failed: $result/$opt"
fi fi
echo "$instance $result/$opt"
done < tests.txt done < tests.txt
echo echo