Fix incorrect check for DTLS
Missing wildcards meant that some servers were not identified as DTLS, which lead to port checking on TCP rather than UDP, and thus mistakenly cancelling tests as the server had not come up. Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
09cfa18976
commit
1428f252ad
1 changed files with 1 additions and 1 deletions
|
@ -753,7 +753,7 @@ wait_client_done() {
|
||||||
# check if the given command uses dtls and sets global variable DTLS
|
# check if the given command uses dtls and sets global variable DTLS
|
||||||
detect_dtls() {
|
detect_dtls() {
|
||||||
case "$1" in
|
case "$1" in
|
||||||
*dtls=1*|-dtls|-u) DTLS=1;;
|
*dtls=1*|*-dtls*|*-u*) DTLS=1;;
|
||||||
*) DTLS=0;;
|
*) DTLS=0;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue