From: David Levine Date: Tue, 26 Apr 2016 02:20:39 +0000 (-0400) Subject: Added test of negative return code from jsmn_parse() to test-send. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/9b25ac098512e993a24dbbc98424b0a61ed9a339?ds=sidebyside;hp=--cc Added test of negative return code from jsmn_parse() to test-send. --- 9b25ac098512e993a24dbbc98424b0a61ed9a339 diff --git a/test/oauth/test-send b/test/oauth/test-send index d75901ad..ad40dbdd 100755 --- a/test/oauth/test-send +++ b/test/oauth/test-send @@ -355,6 +355,24 @@ unset XOAUTH test_send_only_fakesmtp 'post: problem initializing server; [BHST] SMTP server does not support SASL XOAUTH2 send: message not delivered to anyone' +# TEST +start_test 'botched json response' + +fake_creds <