t_net.sh: assign MAC address directly during interface creation
PATCH 1/1 t_net.sh: assign MAC address directly during interface creation
Signed-off-by Antonio Quartulli <[email protected]...>
---
- tested with buildbot
tests/t_net.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
tests/t_net.sh +1 -3
@@ -33,15 +33,13 @@ LAST_STATE=$((${#GET_STATE[@]} - 1)) reload_dummy() { $RUN_SUDO ip link del $IFACE - $RUN_SUDO ip link add $IFACE type dummy + $RUN_SUDO ip link add $IFACE address 00:11:22:33:44:55 type dummy $RUN_SUDO ip link set dev $IFACE state up if [ $? -ne 0 ]; then echo "can't create interface $IFACE" exit 1 fi - - $RUN_SUDO ip link set dev $IFACE address 00:11:22:33:44:55 } run_test()
Signature · 1 line
2.26.2
Acked-by Gert Doering <[email protected]...>
"If you say this helps" :-) (it's test code, and it seems to stop the spurious t_net failure triggers on some linux variants)
Your patch has been applied to the master branch.
commit 3cb9b156c8094ab333fc4f3da57818471135ac5e
Author: Antonio Quartulli Date: Tue Apr 28 15:17:00 2020 +0200
t_net.sh: assign MAC address directly during interface creation
Signed-off-by: Antonio Quartulli <[email protected]...>
Acked-by: Gert Doering <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg19832.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering