diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-03-08 15:37:29 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2016-03-10 17:10:18 +0000 |
commit | 294bbbb4252ab5ff42d0e2c09f209c0bd7eb9748 (patch) | |
tree | 639534d3a53a8c392cbb1026effd152b8972c0b2 /qemu-seccomp.c | |
parent | 256920eb94f4de9430122b7618b9c2a16cb2df32 (diff) | |
download | qemu-294bbbb4252ab5ff42d0e2c09f209c0bd7eb9748.tar.gz qemu-294bbbb4252ab5ff42d0e2c09f209c0bd7eb9748.tar.bz2 qemu-294bbbb4252ab5ff42d0e2c09f209c0bd7eb9748.zip |
io: assert errors before asserting content in I/O test
When checking the results of an I/O operation test, assert that
the error objects are NULL before asserting on the content. This
is found to give more useful indication of the problem when
diagnosing test failures.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'qemu-seccomp.c')
0 files changed, 0 insertions, 0 deletions