[LTP] [RFC PATCH v6 09/11] network/stress: Fix and cleanup route IPv4 tests
Petr Vorel
pvorel@suse.cz
Tue Jun 27 08:04:04 CEST 2017
Hi Alexey,
thank you for your review, all will be in v7. Just one comment to initialize_if:
> On 06/03/2017 03:00 PM, Petr Vorel wrote:
...
> > -# Initialize the specified interface
> > -command="ifconfig $ifname down mtu 1500 ; ip route flush dev $ifname ; ip addr flush dev $ifname ; ifconfig $ifname up"
> > -
> > if [ $host_type = lhost ]; then
> > ( ifconfig $ifname down && \
> > ip link set mtu 1500 dev $ifname && \
> There are no changes in route IPv6 tests, why do we need this for route
> IPv4?
testcases/network/stress/ns-tools/initialize_if is a legacy script. Instead of fixing it
should it's usage should be replaced by functions from test_net.sh or test_stress_net.sh
and the file deleted.
Kind regards,
Petr
More information about the ltp
mailing list