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" ];
then
SUCC+=("$instance: $opt")
echo "$instance passed"
else
FAILED+=("$instance: $result/$opt")
echo "$instance failed: $result/$opt"
fi
echo "$instance $result/$opt"
done < tests.txt
echo