This is a test case issue caused by the cleanup code in the script.
cleanup_v6() { ip netns del me ip netns del peer
sysctl -w net.ipv4.conf.veth0.ndisc_evict_nocarrier=1 >/dev/null 2>&1 sysctl -w net.ipv4.conf.all.ndisc_evict_nocarrier=1 >/dev/null 2>&1 }
This sysctl command is actually failing with: sysctl: cannot stat /proc/sys/net/ipv4/conf/veth0/ndisc_evict_nocarrier: No such file or directory
And thus return 255.
This is a test case issue caused by the cleanup code in the script.
cleanup_v6()
{
ip netns del me
ip netns del peer
sysctl -w net.ipv4. conf.veth0. ndisc_evict_ nocarrier= 1 >/dev/null 2>&1 conf.all. ndisc_evict_ nocarrier= 1 >/dev/null 2>&1
sysctl -w net.ipv4.
}
This sysctl command is actually failing with: net/ipv4/ conf/veth0/ ndisc_evict_ nocarrier: No such file or directory
sysctl: cannot stat /proc/sys/
And thus return 255.