• M
    tests: Fix compressed test output padding logic · b1c9bf27
    Matthias Bolte 提交于
    The current logic tries to count from 1 to 40 and ignores paddings
    of 0 and 1 to 40. This doesn't work for counter + 1 mod 40 == 0
    like here for counter value 159
    
    TEST: virsh-all
          ........................................ 40
          ........................................ 80
          ........................................ 120
          ....................................... 159 OK
    PASS: virsh-all
    
    Also seq isn't portable. Therefore, calculate the correct padding
    length directly and use printf to output it at once.
    b1c9bf27
test-lib.sh 5.7 KB