Commit ee561764 authored by Pavel Emelyanov's avatar Pavel Emelyanov

cr_veth: More debug to EEXISTS failure on travis

parent 6bfb3950
......@@ -12,6 +12,9 @@ if [ "$1" == "--post-start" ]; then
ps xaf
echo "-> $TPID"
set -x
ip l l
ip link add zdtmvthc0 type veth peer name zdtmvthh0
ip link set zdtmvthc0 netns $TPID
......@@ -30,7 +33,8 @@ elif [ "$1" == "--post-restore" ]; then
echo "Device OK"
elif [ "$1" == "--pre-restore" -o "$1" == "--cleanup" ]; then
# Wait for the link to die
ip l l
while ip l l zdtmvthh0 ; do
true
sleep ".5"
done
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment