From fea48e250534d829837548df7b3d5c9e93f649bc Mon Sep 17 00:00:00 2001 From: Andras Fekete Date: Fri, 18 Aug 2023 10:05:12 -0400 Subject: [PATCH] Drop every i'th packet --- scripts/dtls13.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/dtls13.test b/scripts/dtls13.test index 8adec11de..05005bcf1 100755 --- a/scripts/dtls13.test +++ b/scripts/dtls13.test @@ -52,9 +52,9 @@ run_test() { # usage: run_test "" "" " test_dropping_packets () { - for i in $(seq 0 11);do - echo -e "\ndropping packet $i\n" - run_test "-f $i" "-v4 -Ta" "-v4" + for i in $(seq 3 11);do + echo -e "\ndropping ${i}th packet\n" + run_test "-d $i" "-v4 -Ta" "-v4" done # dropping last ack would be client error as wolfssl_read doesn't support WANT_WRITE as returned error