mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-29 15:43:56 +00:00
Allow for more duplicates in 2hop test
This commit is contained in:
parent
2c0efc6334
commit
4204973052
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user