Skip to content
Snippets Groups Projects
Commit 1e794921 authored by Razvan Deaconescu's avatar Razvan Deaconescu
Browse files

tests: Use en_US.UTF-8 locale for printf


This is required for floating point formatting, to make sure it uses dot
(`.`). Some languages (such as Romanian) use comma (`,`).

Signed-off-by: default avatarRazvan Deaconescu <razvan.deaconescu@upb.ro>
parent 0d6503f7
No related branches found
No related tags found
No related merge requests found
Pipeline #10662 passed
......@@ -38,6 +38,6 @@ total_grade=$( (echo "scale=0"; echo "$total / 10") | bc )
echo ""
echo -n "Total: "
echo -n " "
printf "%3d/100\n" "$total_grade"
LC_ALL=en_US.UTF-8 printf "%3d/100\n" "$total_grade"
rm results.txt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment