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:
parent
b68f7dfac2
commit
2f4b66967d
1 changed files with 4 additions and 0 deletions
|
@ -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 ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue