tests,json: Fix and improve t-json
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 14 Nov 2018 12:05:36 +0000 (13:05 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 14 Nov 2018 12:05:36 +0000 (13:05 +0100)
commit3e5684d99b881787f9739e53fd8e8c22eadc2146
treeb770a05215d0099b7b3f3dd0adba90cfebc58064
parent0c31837766e016227b3c8dfd44c476949cd4741e
tests,json: Fix and improve t-json

* tests/json/t-json.c (run_test): Terminate argv array correctly.
(run_test): Note and handle empty response.
tests/json/t-json.c