aboutsummaryrefslogtreecommitdiff
path: root/automated/linux/network-test/network-test.sh
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2021-01-06 15:05:13 +0000
committerRyan Harkin <ryan.harkin@linaro.org>2021-01-06 15:05:13 +0000
commitf0c7e1adefbbcd282a3d6e14adefc23f0a5cf826 (patch)
tree8933df1d22fc147028040d2ac9b7f8bd19ba78ab /automated/linux/network-test/network-test.sh
parent4384f8551b56821eb5d313c608fa2337f2e624fd (diff)
dhcp after link-settings
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'automated/linux/network-test/network-test.sh')
-rwxr-xr-xautomated/linux/network-test/network-test.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/automated/linux/network-test/network-test.sh b/automated/linux/network-test/network-test.sh
index 2518133..7a4f864 100755
--- a/automated/linux/network-test/network-test.sh
+++ b/automated/linux/network-test/network-test.sh
@@ -531,7 +531,11 @@ test_link_settings(){
fi
ifconfig "${interface}" mtu "${mtu}"
echo ""
- sleep 10
+ sleep 3
+ if_down "${interface}"
+ sleep 3
+ if_up "${interface}"
+ assign_ipaddr "${interface}"
echo ""
check_link_settings "${interface}" "${speed}" "${duplex}" "${autoneg}" "${mtu}" "link-settings"
}