HomePhabricator

tests: rework strbuf append/prepend tests

Authored by zmike on Mar 30 2018, 8:11 AM.

Description

tests: rework strbuf append/prepend tests

there's no point in iterating this many times; the base step size is 32
and so each loop will only increase the buffer...not at all since it takes
3 loops for the buffer to increase by the step size

verify that the buffer increases and then stop instead of spinning uselessly

fix T6835

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>

Details

Committed
stefan_schmidtApr 5 2018, 2:10 AM
Parents
rEFL0f3f651f8131: tests: reformat eina_test_strbuf.c
Branches
Unknown
Tags
Unknown
Tasks
T6835: strbuf