Don't wait forever for jdwp response 83/87083/2
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Mon, 6 May 2019 21:27:08 +0000 (23:27 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Mon, 6 May 2019 21:37:41 +0000 (23:37 +0200)
commit0a8566302dd0c9cce65497611c1808c82328959f
tree5b930ecb7f008356821247092d916966107da088
parent30458f3452087c3c0ecaf0866de307728c8eaa73
Don't wait forever for jdwp response

Some of web services do not send any data when challenged with JDWP
challenge. This makes the script waiting forever for response.

To fix that let's introduce 10s timeout (experimental value) and
replace empty string with a new line to avoid bash warnings.

Issue-ID: SECCOM-231
Change-Id: I35546c001c5c54f298e8a4e346c2cf5d41e230ac
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
test/security/check_for_jdwp.sh