Eric Blake a8fff94d28 tests: Clean up test-string-output-visitor
Use &error_abort and error_free_or_abort() in more places, use
the generated qapi_free_intList() instead of open-coding it,
reduce the scope of some variables, avoid code duplication
during test setup with visitor_output_setup_internal(), and
copy the visitor_reset() concept from the qmp-output test to
the string-output test.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1465490926-28625-11-git-send-email-eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2016-07-06 10:52:04 +02:00
..
2016-06-20 11:44:12 +01:00
2016-05-18 15:04:27 +03:00
2016-02-23 12:43:05 +00:00
2016-07-06 10:52:03 +02:00
2016-06-16 18:39:03 +02:00
2016-06-16 18:39:03 +02:00
2016-06-16 09:50:07 +05:30
2016-02-23 12:43:05 +00:00
2016-02-16 14:29:27 +00:00
2016-06-16 18:39:03 +02:00
2016-06-07 18:19:25 +03:00
2016-02-16 14:29:27 +00:00
2016-06-16 18:39:03 +02:00
2016-06-07 11:25:06 -05:00
2016-06-16 18:39:03 +02:00
2016-06-07 16:34:45 +01:00