Alex Bennée eb4f8e100f tests: use g_usleep instead of rem = sleep(time)
Relying on sleep to always return having slept isn't safe as a signal
may have occurred. If signals are constantly incoming the program will
never reach its termination condition. This is believed to be the
mechanism causing time outs for qht-test in Travis.

The glib g_usleep() deals with all of this for us so lets use it instead.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
2019-01-14 14:52:30 +00:00
..
2018-02-22 15:44:07 -08:00
2018-12-20 10:29:08 +01:00
2017-09-22 10:46:25 +08:00
2018-03-21 15:13:40 +01:00
2018-08-16 09:50:54 +01:00
2018-10-09 13:44:12 +02:00
2017-03-01 11:51:28 +04:00
2017-03-01 11:51:05 +04:00
2017-03-01 11:51:05 +04:00
2017-01-10 08:49:59 -08:00
2018-02-08 09:22:03 +08:00
2017-09-05 22:34:40 +02:00
2018-08-31 09:53:10 +02:00
2018-08-23 18:46:25 +02:00
2017-12-20 22:01:24 +08:00
2018-12-20 10:29:08 +01:00
2018-12-20 10:29:08 +01:00