[LTP] [REGRESSION] Broken tests using tst_net.sh by 893ca0abe7 (was: [PATCH 1/2] lib: multiply the timeout if detect slow kconfigs)

Li Wang liwang@redhat.com
Thu Jan 16 13:13:01 CET 2025


On Thu, Jan 16, 2025 at 8:10 PM Li Wang <liwang@redhat.com> wrote:

>
>
> On Thu, Jan 16, 2025 at 4:38 PM Petr Vorel <pvorel@suse.cz> wrote:
>
>> ...
>> > > init_ltp_netspace()
>> > > {
>> > >         ...
>> > >                 pid="$(ROD tst_ns_create net,mnt)"
>> > >         ...
>> > >         export LTP_NETNS="${LTP_NETNS:-tst_ns_exec $pid net,mnt}"
>>
>> > > I will probably solve it by adding yet another parameter to
>> > > tst_rhost_run(),
>> > > which ignores stderr and use it for tst_ns_{create,exec}. But maybe
>> there
>> > > is
>> > > another solution (or another problem).
>>
>>
>> > Or, another way is just to set 'tst_test->timeout ==
>> TST_UNLIMITED_TIMEOUT'
>> > in those testcase/lib tools.
>>
>> Or, we could have yet another flag TST_SKIP_SLOW_DETECTION which could be
>> used
>> for these tools.
>>
>
> Sounds better. But maybe name it TST_NO_SLOW_CONFIG_CHECK ?
>

Ah, typo with missing 'K'.

s/TST_NO_SLOW_CONFIG_CHECK/TST_NO_SLOW_KCONFIG_CHECK

>

-- 
Regards,
Li Wang


More information about the ltp mailing list