net: scripts: Close zephyr network interface when test closes

The zeth interface was left hanging around when the test
finished but we can remove it here as it is not needed.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2020-11-03 15:16:14 +02:00 committed by Jukka Rissanen
commit 2f4b66967d

View file

@ -130,6 +130,10 @@ stop_configuration ()
echo "Could not stop Docker network '$network'" >&2 echo "Could not stop Docker network '$network'" >&2
fi fi
fi fi
# No need to keep the zephyr eth interface around
"$NET_TOOLS_BASE/net-setup.sh" --config "$NET_TOOLS_BASE/docker.conf" \
stop > /dev/null 2>&1
} }
start_zephyr () start_zephyr ()