Re: [PATCH v4 3/3] tests/migration:fix unreachable path in stress test

2019-10-23 Thread Laurent Vivier
Le 04/10/2019 à 19:32, Mao Zhongyi a écrit : > 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 > --- > t

[PATCH v4 3/3] tests/migration:fix unreachable path in stress test

2019-10-04 Thread Mao Zhongyi
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 --- tests/migration/stress.c | 13 + 1 file changed, 5