API: Only output test data when reading was successful.

Signed-off-by: Rafal Czubak <rcz@semihalf.com>
1 file changed