From 8d625cc03fc6c03a51fb04013a98ce810450b506 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 7 Feb 2019 13:00:10 -0500 Subject: [PATCH] add auto test suites for #661 Change-Id: Icce0a216f190efad365e613e76290630540dd9b1 --- t/auto-daemon-tests.pl | 536 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 536 insertions(+) diff --git a/t/auto-daemon-tests.pl b/t/auto-daemon-tests.pl index 5b0d90bf4..d85331e53 100755 --- a/t/auto-daemon-tests.pl +++ b/t/auto-daemon-tests.pl @@ -62,6 +62,9 @@ sub offer_answer { $regexp =~ s/ICEBASE/([0-9a-zA-Z]{16})/gs; $regexp =~ s/ICEUFRAG/([0-9a-zA-Z]{8})/gs; $regexp =~ s/ICEPWD/([0-9a-zA-Z]{26})/gs; + $regexp =~ s/CRYPTO128/([0-9a-zA-Z\/+]{40})/gs; + $regexp =~ s/CRYPTO192/([0-9a-zA-Z\/+]{51})/gs; + $regexp =~ s/CRYPTO256/([0-9a-zA-Z\/+]{62})/gs; like crlf($resp->{sdp}), qr/$regexp/s, "$name - output $cmd SDP"; return; } @@ -494,6 +497,539 @@ a=T38FaxRateManagement:transferredTCF a=sendrecv SDP +# github issue #661 + +new_call; + +offer('gh 661 plain', { ICE => 'remove', DTLS => 'off' }, < 'remove' }, < 'remove', DTLS => 'off', SDES => [ 'no-F8_128_HMAC_SHA1_80' ] }, < 'remove' }, < 'remove', DTLS => 'off', SDES => [ 'no-AES_CM_128_HMAC_SHA1_32' ] }, < 'remove' }, < 'remove', DTLS => 'off', SDES => [ 'no-AES_CM_128_HMAC_SHA1_80' ] }, < 'remove' }, < 'remove', DTLS => 'off', 'transport protocol' => 'RTP/AVP' }, < 'remove' }, < 'remove', DTLS => 'off', 'transport protocol' => 'RTP/AVP', SDES => [ 'no-AES_CM_128_HMAC_SHA1_32' ] }, < 'remove' }, < 'remove', DTLS => 'off', 'transport protocol' => 'RTP/AVP', SDES => [ 'no-AES_CM_128_HMAC_SHA1_80' ] }, < 'remove' }, < 'remove', DTLS => 'off', 'transport protocol' => 'RTP/SAVP' }, < 'remove' }, < 'remove', DTLS => 'off', 'transport protocol' => 'RTP/SAVP', SDES => [ 'no-F8_128_HMAC_SHA1_80' ] }, < 'remove' }, < 'remove', DTLS => 'off', 'transport protocol' => 'RTP/SAVP', SDES => [ 'no-AES_CM_128_HMAC_SHA1_80' ] }, < 'remove' }, <