[LTP] [PATCH 1/1] if-mtu-change.sh: Lower CHANGE_INTERVAL to 1

Petr Vorel pvorel@suse.cz
Thu Jan 14 18:38:31 CET 2021


> On 14.01.2021 17:47, Petr Vorel wrote:
> > Hi Alexey,

> >> Hi Petr,

> >> Do you mean "sleep $NS_DURATION" in mcast-pktfld02.sh is not needed
> > Yes: sleep $NS_DURATION in mcast-pktfld02.sh and other mcast*.sh tests in:
> > https://urldefense.com/v3/__https://patchwork.ozlabs.org/project/ltp/patch/20201125053459.3314021-2-lkml@jv-coder.de/__;!!GqivPVa7Brio!P0xbdqXlRQX7GPsKJmcPapdEOX5VV4OnkCKv-P9OqIWNcTvY9a9KXhOSjdJ1dKco5YbG$ 
> > https://urldefense.com/v3/__https://patchwork.ozlabs.org/project/ltp/patch/20201125053459.3314021-1-lkml@jv-coder.de/__;!!GqivPVa7Brio!P0xbdqXlRQX7GPsKJmcPapdEOX5VV4OnkCKv-P9OqIWNcTvY9a9KXhOSjdJ1dKjzIVpO$ 


> It's needed because the commands run in parallel in the background
> during $NS_DURATION. Without it, the test terminates them all shortly
> after starting.

Thanks for info. Yes, that's right. I got confused, because on netns it's (at
least on the default setup), that it passes even without sleep.
Maybe we could remove it for netns.

Kind regards,
Petr


More information about the ltp mailing list