From 4204973052dfe0cbe88332b424f9eaa7ef4dd749 Mon Sep 17 00:00:00 2001 From: Jeremy Lakeman Date: Fri, 9 May 2014 11:21:16 +0930 Subject: [PATCH] Allow for more duplicates in 2hop test --- tests/routing | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/routing b/tests/routing index 92e8c388..9fd41203 100755 --- a/tests/routing +++ b/tests/routing @@ -627,7 +627,7 @@ test_ping_unreliable_2hop() { received=$(sed -n -e 's/.*\<\([0-9]\+\) packets received.*/\1/p' "$TFWSTDOUT") || error "malformed ping output" duplicates=$(sed -n -e 's/.*\<\([0-9]\+\) duplicates.*/\1/p' "$TFWSTDOUT") || error "malformed ping output" assert [ "$received" -ge 98 ] - assert [ "$duplicates" -le 2 ] + assert [ "$duplicates" -le 5 ] } doc_brping_unreliable_1hop="Broadcast ping over a 1-hop unreliable link"