[LTP] [Automated-testing] [PATCH v2 23/30] fuzzy_sync: Convert to runtime

Richard Palethorpe rpalethorpe@suse.de
Thu May 5 10:51:49 CEST 2022


Hi,

Petr Vorel <pvorel@suse.cz> writes:

> Hi Cyril,
>
>> The runtime for fuzzy sync tests are computed as timeout * exec_time_p.
>> The default timeout was 300 and the default was 0.5.
>
>> CC: Richard Palethorpe <rpalethorpe@suse.com>
>> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
>> ---
>>  include/tst_fuzzy_sync.h                      | 19 ++++---------------
>>  testcases/kernel/crypto/af_alg07.c            |  1 +
>>  testcases/kernel/mem/thp/thp04.c              |  1 +
>>  testcases/kernel/pty/pty03.c                  |  2 +-
>>  testcases/kernel/pty/pty05.c                  |  1 +
>>  testcases/kernel/pty/pty06.c                  |  1 +
>>  testcases/kernel/pty/pty07.c                  |  1 +
>>  testcases/kernel/sound/snd_seq01.c            |  2 +-
>>  testcases/kernel/sound/snd_timer01.c          |  1 +
>>  testcases/kernel/syscalls/bind/bind06.c       |  2 +-
>>  testcases/kernel/syscalls/inotify/inotify09.c |  1 +
>>  .../kernel/syscalls/ipc/shmctl/shmctl05.c     |  2 +-
>>  testcases/kernel/syscalls/sendmsg/sendmsg03.c |  1 +
>>  .../kernel/syscalls/setsockopt/setsockopt06.c |  2 +-
>>  .../kernel/syscalls/setsockopt/setsockopt07.c |  1 +
>>  .../syscalls/timerfd/timerfd_settime02.c      |  1 +
>>  testcases/kernel/syscalls/writev/writev03.c   |  2 +-
>>  17 files changed, 20 insertions(+), 21 deletions(-)
>
> FYI you haven't converted fuzzy sync tests.
> I suppose these errors must be fix in first commit.
>
> ./tst_fuzzy_sync01
> tst_test.c:1522: TINFO: Timeout per run is 0h 00m 30s
> tst_test.c:1483: TBROK: Runtime not set!

Ah, I see the missing runtime actually causes an error. I would have
expected it to use a default 5 seconds?

-- 
Thank you,
Richard.


More information about the ltp mailing list