base: remove internal use of format strings

Issue #2064
This commit is contained in:
Norman Feske
2023-03-06 10:57:13 +01:00
committed by Christian Helmuth
parent 9debad4e91
commit 915adcd0dd
20 changed files with 101 additions and 144 deletions

View File

@ -100,8 +100,8 @@ grep_output {\[init -\> test-smp\] Affinity: Round}
set rounds "10"
set good_string {}
for {set r 0} {$r <= $rounds} {incr r} {
append good_string {[init -> test-smp] Affinity: Round }
append good_string [format "%02d" $r]
append good_string {[init -> test-smp] Affinity: Round }
append good_string [format "%2d" $r]
append good_string ":"
for {set i 0} {$i < $cpus} {incr i} {
append good_string " A"