Francois Gouget : testbot/testagentd: Show a message when testagentd is restarted.

Alexandre Julliard julliard at winehq.org
Mon Mar 26 14:13:45 CDT 2018


Module: tools
Branch: master
Commit: 96a8d7b7001197a03cde782f58bb9631f3aec221
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=96a8d7b7001197a03cde782f58bb9631f3aec221

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Mar 26 05:20:10 2018 +0200

testbot/testagentd: Show a message when testagentd is restarted.

It can be useful to set up a VM to auto-login on Windows and have
TestAgentd start automatically on boot. However in such a configuration
it can be hard to detect when a test causes Windows to reboot: the
client reconnects automatically just like after a network glitch and the
VM desktop looks normal.
So with this patch TestAgentd can keep track of its restarts, lets the
client query that value, and brings up a dialog if an unexpected restart
occurs.
The start count can also be overriden to deal with cases where some
automated process causes a Windows reboot as part of the VM set up
process.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/lib/WineTestBot/TestAgent.pm      |  20 +++++
 testbot/scripts/TestAgent                 |  15 +++-
 testbot/src/testagentd/platform.h         |   8 ++
 testbot/src/testagentd/platform_unix.c    |   9 ++
 testbot/src/testagentd/platform_windows.c |  31 +++++++
 testbot/src/testagentd/testagentd.c       | 131 +++++++++++++++++++++++++++++-
 6 files changed, 210 insertions(+), 4 deletions(-)

Diff:   https://source.winehq.org/git/tools.git/?a=commitdiff;h=96a8d7b7001197a03cde782f58bb9631f3aec221



More information about the wine-cvs mailing list