diff options
| author | Eric Blake | 2017-09-11 19:19:46 +0200 |
|---|---|---|
| committer | Thomas Huth | 2017-09-15 09:05:19 +0200 |
| commit | 147731258d6087bc3ba0b299009bc2a3beec3c99 (patch) | |
| tree | d70b2b3d7aaf408ab5202812461a8684b97ebd4a /tests | |
| parent | test-qga: Kill broken and dead QGA_TEST_SIDE_EFFECTING code (diff) | |
| download | qemu-147731258d6087bc3ba0b299009bc2a3beec3c99.tar.gz qemu-147731258d6087bc3ba0b299009bc2a3beec3c99.tar.xz qemu-147731258d6087bc3ba0b299009bc2a3beec3c99.zip | |
qtest: Don't perform side effects inside assertion
Assertions should be separate from the side effects, since in
theory, g_assert() can be disabled (in practice, we can't really
ever do that).
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
