]> git.proxmox.com Git - mirror_qemu.git/commit
tests/migration: fix unreachable path in stress test
authorMao Zhongyi <maozhongyi@cmss.chinamobile.com>
Wed, 3 Jun 2020 08:08:57 +0000 (16:08 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 17 Jun 2020 16:48:39 +0000 (17:48 +0100)
commit71cfce73f454fcdd5b4e8e9629cd6f41900cef13
treec8e48525e82e0572295f6da0823372c8c220deaf
parentf663492f40c1e2b500c9eda0625ff8bbb04a478c
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>
tests/migration/stress.c