diff options
author | Mao Zhongyi <maozhongyi@cmss.chinamobile.com> | 2020-06-03 16:08:57 +0800 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-06-17 17:48:39 +0100 |
commit | 71cfce73f454fcdd5b4e8e9629cd6f41900cef13 (patch) | |
tree | c8e48525e82e0572295f6da0823372c8c220deaf /monitor/hmp-cmds.c | |
parent | f663492f40c1e2b500c9eda0625ff8bbb04a478c (diff) |
tests/migration: fix unreachable path in stress test
If stressone() or stress() exits it's because of a failure
because the test runs forever otherwise, so change stressone
and stress type to void to make the exit_failure() as the exit
function of main().
Signed-off-by: Mao Zhongyi <maozhongyi@cmss.chinamobile.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200603080904.997083-3-maozhongyi@cmss.chinamobile.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'monitor/hmp-cmds.c')
0 files changed, 0 insertions, 0 deletions