aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2024-03-21 16:34:00 -0700
committerRob Landley <rob@landley.net>2024-03-22 16:09:45 -0500
commitf58425918afe8db4e643ebab8981777e2e8ba6ec (patch)
tree56440a905611ea75c28afca0b139e0970ccf449e
parent39dea7710fa49adf4d255956c32e19a9f90afc98 (diff)
downloadtoybox-f58425918afe8db4e643ebab8981777e2e8ba6ec.tar.gz
Reduce ifconfig test flake.
I have no excuse for deflaking _one_ of the MTU tests but not the other. I have no one to blame but myself that I'm back here today...
-rwxr-xr-xtests/ifconfig.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ifconfig.test b/tests/ifconfig.test
index 72348e64..150feb97 100755
--- a/tests/ifconfig.test
+++ b/tests/ifconfig.test
@@ -76,7 +76,7 @@ testing "dummy0 default" \
# Results Expected: After calling ifconfig dummy0, there is one line with the
# selected MTU
testing "dummy0 mtu 1269" \
-"ifconfig dummy0 mtu 1269 && ifconfig dummy0 | grep 1269 | wc -l" \
+"ifconfig dummy0 mtu 1269 && ifconfig dummy0 | grep MTU:1269 | wc -l" \
"1\n" "" ""
# Test Description: ifconfig add for IPv6 fails with an mtu too small for IPv6.