run-test-api: Register an update handler to avoid reboot
The test is currently incompletes because the DUT reboots after the update is installed. This appeared after T5907 was fixed. The reboot was not effectively occuring and the test was passing. Now that the reboot occurs, the test fails.
Signed-off-by: Frédéric Dalleau frederic.dalleau@collabora.com