DTLS: disable datagram packing tests when immediate transmission is on

Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
Andrzej Kurek 2020-12-08 10:26:27 -05:00
parent c3dde3f2f9
commit 5ac3a50924

View File

@ -1368,6 +1368,7 @@ run_test "SHA-256 allowed by default in client certificate" \
0 0
# Tests for datagram packing # Tests for datagram packing
requires_config_disabled MBEDTLS_IMMEDIATE_TRANSMISSION
run_test "DTLS: multiple records in same datagram, client and server" \ run_test "DTLS: multiple records in same datagram, client and server" \
"$P_SRV dtls=1 dgram_packing=1 debug_level=2" \ "$P_SRV dtls=1 dgram_packing=1 debug_level=2" \
"$P_CLI dtls=1 dgram_packing=1 debug_level=2" \ "$P_CLI dtls=1 dgram_packing=1 debug_level=2" \
@ -1375,6 +1376,7 @@ run_test "DTLS: multiple records in same datagram, client and server" \
-c "next record in same datagram" \ -c "next record in same datagram" \
-s "next record in same datagram" -s "next record in same datagram"
requires_config_disabled MBEDTLS_IMMEDIATE_TRANSMISSION
run_test "DTLS: multiple records in same datagram, client only" \ run_test "DTLS: multiple records in same datagram, client only" \
"$P_SRV dtls=1 dgram_packing=0 debug_level=2" \ "$P_SRV dtls=1 dgram_packing=0 debug_level=2" \
"$P_CLI dtls=1 dgram_packing=1 debug_level=2" \ "$P_CLI dtls=1 dgram_packing=1 debug_level=2" \
@ -1382,6 +1384,7 @@ run_test "DTLS: multiple records in same datagram, client only" \
-s "next record in same datagram" \ -s "next record in same datagram" \
-C "next record in same datagram" -C "next record in same datagram"
requires_config_disabled MBEDTLS_IMMEDIATE_TRANSMISSION
run_test "DTLS: multiple records in same datagram, server only" \ run_test "DTLS: multiple records in same datagram, server only" \
"$P_SRV dtls=1 dgram_packing=1 debug_level=2" \ "$P_SRV dtls=1 dgram_packing=1 debug_level=2" \
"$P_CLI dtls=1 dgram_packing=0 debug_level=2" \ "$P_CLI dtls=1 dgram_packing=0 debug_level=2" \