Need to use `ip route flush` in test scripts as a workaround:
# route flush
Flushing `inet' routing table not supported
Signed-off-by: Daniel Lenski <dlenski@gmail.com>
done
sleep 3 # XX: CI needs additional delay here
+if test "$NO_IPROUTE2" = 1;then
+ # XX: 'route flush' doesn't work properly on Linux
+ ${CMSNS1} ${IP} route flush cache 2>/dev/null
+ ${CMSNS1} ${IP} -6 route flush cache 2>/dev/null
+fi
+
set -e
echo " * ping remote address"
done
sleep 3 # XX: CI needs additional delay here
+if test "$NO_IPROUTE2" = 1;then
+ # XX: 'route flush' doesn't work properly on Linux
+ ${CMDNS1} ${IP} route flush cache 2>/dev/null
+ ${CMDNS1} ${IP} -6 route flush cache 2>/dev/null
+fi
+
set -e
echo " * ping remote address"